Welcome to Soft32 Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

excel

 
   Soft32 Home -> Mac -> Excel RSS
Next:  Entourage Updating database  
Author Message
vagfyt

External


Since: Oct 26, 2009
Posts: 3



(Msg. 1) Posted: Mon Oct 26, 2009 3:47 am
Post subject: excel
Archived from groups: microsoft>public>mac>office>excel (more info?)

Version: 2008
Operating System: Mac OS X 10.6 (Snow Leopard)
Processor: Intel

Hi my question is business related : i am shelling magazines and i get a list of the new ones everyday , containing titles , number of issue , price etc.. . I have created several excel sheets categorizing the magazines ( men mag , women mag , sports mag ) and i update them everyday ( incoming , outgoing ) . So this is an everyday thing for me . And my question is this : {if i manage to convert this lists to an excel sheet} Will i be able to associate the name of its magazine from it automatically to the existing sheets according to its category and , following to import the other new data of the magazine also automatically ( price , name , number ); For example : associate this row of the list

Title No Date Price
Men 's Health 34 21/10 2009 3.00 $

To this sheet :

NAME NUMBER PRICE RECEIVED DATE
PENTHOUSE 7 4.5 0 0
PENTHOUSE SPECIAL 4 4.5 0 0
PLAYBOY 2 4.9 0 0
MAXIM 2 3.5 0 0
MAXIM 1 4.5 0 0
MENS HEALTH 4 3 0 0
MENS HEALTH 2 6.9 0 0

Thank you !
Back to top
Login to vote
vagfyt

External


Since: Oct 26, 2009
Posts: 3



(Msg. 2) Posted: Mon Oct 26, 2009 9:15 am
Post subject: Re: excel [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello and thanks for the quick reply . I 've seen some examples and tips about the H-V- LOOKUP and i need some more information. If you could answer this questions the function would be more clear for me .
1. How will i be able to retrieve from the new sheet not just one but multiple data ( price , date , issue number ) based on the search of the magazine 's name
2. Given the fact that i receive more or less 1.000 titles of magazines and newspapers and their names will appear minimum 1 time (monthly) and maximum 4 times (weekly) and i don 't get the exactly same amount of titles everyday ( today their may be 25 titles and tomorrow 74 the next day 56 and so on ) wont it be a #N/A error message because my reference will be to an empty cell maybe up to 26 days a month ;
Thanks again for your help !
Back to top
Login to vote
John McGhie

External


Since: Jul 28, 2007
Posts: 1803



(Msg. 3) Posted: Mon Oct 26, 2009 9:20 am
Post subject: Re: excel [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Yes, you can.

Look in the Excel help for a function called VLOOKUP. Study everything you
can find on that, then come back and we will tell you how to use it.

Cheers


On 26/10/09 9:47 PM, in article 59b7f561.-1 RemoveThis @webcrossing.caR9absDaxw,
"vagfyt@officeformac.com" <vagfyt RemoveThis @officeformac.com> wrote:

> Version: 2008
> Operating System: Mac OS X 10.6 (Snow Leopard)
> Processor: Intel
>
> Hi my question is business related : i am shelling magazines and i get a list
> of the new ones everyday , containing titles , number of issue , price etc.. .
> I have created several excel sheets categorizing the magazines ( men mag ,
> women mag , sports mag ) and i update them everyday ( incoming , outgoing ) .
> So this is an everyday thing for me . And my question is this : {if i manage
> to convert this lists to an excel sheet} Will i be able to associate the name
> of its magazine from it automatically to the existing sheets according to its
> category and , following to import the other new data of the magazine also
> automatically ( price , name , number ); For example : associate this row of
> the list
>
> Title No Date Price
> Men 's Health 34 21/10 2009 3.00 $
>
> To this sheet :
>
> NAME NUMBER PRICE RECEIVED DATE
> PENTHOUSE 7 4.5 0 0
> PENTHOUSE SPECIAL 4 4.5 0 0
> PLAYBOY 2 4.9 0 0
> MAXIM 2 3.5 0 0
> MAXIM 1 4.5 0 0
> MENS HEALTH 4 3 0 0
> MENS HEALTH 2 6.9 0 0
>
> Thank you !


--

This email is my business email -- Please do not email me about forum
matters unless you intend to pay!

John McGhie, Microsoft MVP (Word, Mac Word), Consultant Technical Writer,
McGhie Information Engineering Pty Ltd
Sydney, Australia. | Ph: +61 (0)4 1209 1410
+61 4 1209 1410, mailto:john@mcghie.name
Back to top
Login to vote
John McGhie

External


Since: Jul 28, 2007
Posts: 1803



(Msg. 4) Posted: Tue Oct 27, 2009 3:28 am
Post subject: Re: excel [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

For question 1, you could do something fancy using INDEX and OFFSET, but I
wouldn't bother for this: just as easy to use a VLOOKUP in each cell.

It would be slow if you wanted to look at thousands of rows and hundreds of
columns, but for this Excel will do it in a blink of an eye. Remember, it
doesn't matter how hard the computer has to work, but it does matter how
hard YOU do. So let's just keep it simple and make Excel do the work Smile

Let's assume that your "Tracking Spreadsheet" is "Sheet 2" and your
"Delivery" spreadsheet is "Sheet 1".

Your Delivery is in cells A1 to F1 and down...

To make this easier to code, I simply assigned a "Name" to the whole of the
Delivery table (Select all the cells in the delivery sheet and Type a Name
in the Name box. I chose "Delivery"; I love to see what I am doing
expressed in plain English Smile

In Column A of the Tracking sheet, you add the names of the magazines. If
the names are not unique, choose something that is unique, like their
publication number: this thing will give wrong results if there are two
names the same.

To get VLOOKUP to work, the column you are looking IN in the Delivery sheet
MUST be the left-most column. It does not have to be Column A, but it must
be the left-most column in the table that you name. If that's not the case,
you may still be able to get it to work, but then you will need to use INDEX
and OFFEST and the formula becomes really convoluted.

Now, for Column B in the Tracking sheet, the Formula becomes:
=VLOOKUP($A1,Delivery,2,FALSE)

That will look in the left column of the "Delivery" table for the name that
appears in cell A1, and return to cell B1 of the Tracking sheet whatever
appears in the second column of the Delivery table: the one to the right of
where it found the name. In this case, that's the delivered number.

Because I used the name "Delivery" for the entire delivery table, and did
not do anything special, I do not have to bother telling Excel which sheet I
want it to look on. Let Excel do the work...

Notice that I prefixed "A1" with a $ sign. That's because I know that I
will want to "Fill Down" later, and I don't want Excel changing the column
number, only the Row number.

The Value "FALSE" at the end simply tells Excel "If you don't find it,
return "N/A". Otherwise, Excel will return the next highest name
alphabetically in the list, which will turn your results to nonsense because
it won't be looking at the delivery for the correct magazine. This also
means that you do not have to have the names in alphabetic order, in either
sheet: Excel will look at the whole list.

Now, you're right: What happens if there was no delivery of this magazine
today? You WOULD get a #N/A. We need to KNOW if we didn't find it, but we
don't want to SEE it. So let's deal with that.

=IF(ISNA(VLOOKUP($A1,Delivery,2,FALSE))=TRUE,""

This uses the IF statement to insert a conditional. Then it uses the
built-in "ISNA" function to decide whether what we get is a "N/A" or not.
And as you can see, we simply repeat the formula. Effectively we're saying
to Excel, "First try the look-up: if you find nothing, set the cell to
blank; otherwise, go back and get the content again and put it in the cell."

The whole formula looks like this:

=IF(ISNA(VLOOKUP($A1,Delivery,2,FALSE))=TRUE,"",VLOOKUP($A1,Delivery,2,FALSE
))

It reads "If ISNA{what our lookup formula found} returns True, then set the
cell to " ", otherwise, set the cell to whatever the lookup formula returns.

Now, copy that formula into the Tracking sheet on Columns C, D, E, and F

In Cell C1, set the returned column number to "3" in each lookup:
=IF(ISNA(VLOOKUP($A1,Delivery,3,FALSE))=TRUE,"",VLOOKUP($A1,Delivery,3,FALSE
))

In Cell D1, set it to 4, in E1 set it to 5, etc. The numbers do not have to
be in order, you can swap the columns around in this step. And they do not
have to be contiguous: if you don't want a column, don't retrieve it.

Now, select Cells B1 to F1, grab the fill handle and drag it down the full
list of titles...

All done! It takes a lot longer to describe it than it does to do it Smile

Cheers




On 27/10/09 3:15 AM, in article 59b7f561.1.TakeThisOut@webcrossing.caR9absDaxw,
"vagfyt@officeformac.com" <vagfyt.TakeThisOut@officeformac.com> wrote:

> Hello and thanks for the quick reply . I 've seen some examples and tips about
> the H-V- LOOKUP and i need some more information. If you could answer this
> questions the function would be more clear for me .
> 1. How will i be able to retrieve from the new sheet not just one but
> multiple data ( price , date , issue number ) based on the search of the
> magazine 's name
> 2. Given the fact that i receive more or less 1.000 titles of magazines and
> newspapers and their names will appear minimum 1 time (monthly) and maximum 4
> times (weekly) and i don 't get the exactly same amount of titles everyday (
> today their may be 25 titles and tomorrow 74 the next day 56 and so on ) wont
> it be a #N/A error message because my reference will be to an empty cell maybe
> up to 26 days a month ;
> Thanks again for your help !


--

This email is my business email -- Please do not email me about forum
matters unless you intend to pay!

John McGhie, Microsoft MVP (Word, Mac Word), Consultant Technical Writer,
McGhie Information Engineering Pty Ltd
Sydney, Australia. | Ph: +61 (0)4 1209 1410
+61 4 1209 1410, mailto:john@mcghie.name
Back to top
Login to vote
vagfyt

External


Since: Oct 26, 2009
Posts: 3



(Msg. 5) Posted: Tue Oct 27, 2009 7:11 am
Post subject: Re: excel [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thank you i really appreciate all your help !
Back to top
Login to vote
Display posts from previous:   
Related Topics:
excel vba in excel X Excel 98 Mac - Hi, I'm on OSX 10.2 but still using office98. Partly because i don't like aqua too much and because all my windows vba...

URL Web Query is editable in Excel for Windows but not Exc.. - Why is a URL Web Query editable from the Windows 2000 version of MS Excel but not from the MAC OSX version of excel?

A URL Web Query is editable in Excel for Windows but not E.. - Why is a URL Web Query editable from the Windows 2000 version of MS Excel, but not from the MAC OSX version of excel? ....

Porting file using hyperlinks in Excel XP to Excel 98/OS 9.. - I created some hyperlinks in Excel XP and ported the file to Excel 98/OS 9. Doesn't seem to work ... Any ideas? ..

Speed Issue - Excel X on G4 1G vs Excel 2003 on PII 333 - Hi guys Developed an Excel spreadsheet (~100MB) on my rather antique Pentium II 333 MHz laptop (192MB RAM / Excel..

can't save spreadsheet created in Excel XP on Mac OS 9.2 E.. - A spreadsheet created in Excel (XP), saved to a windows server, can be opened but not saved using a Mac OS 9.2 machine....
       Soft32 Home -> Mac -> Excel All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows
 Linux
  Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]