VLOOKUP to From Another Sheet

I want a VLOOKUP function that all of my sheets will refer to. It needs to be on the first sheet titled "Total Overview" and the table is "Table 4". I have set it up, but when I go to a different sheet and set it up, it gives an F for a 100%. Is there a syntax error?

Here is the formula for cell H12:

=VLOOKUP(H11, Total Overview :: Table 4, 2, 1)

My Table looks like this:

90 A
80 B
70 C
60 D
0 F

BTW I have a screenshot but I don't know how to attach it to my post.

MacBook Pro, Mac OS X (10.6.5)

Posted on Dec 2, 2010 2:32 PM

Reply
13 replies

Dec 2, 2010 3:07 PM in response to swissrule

swissrule wrote:
Is there a syntax error?


=VLOOKUP(H11, Total Overview :: Table 4, 2, 1)


You're missing the cell range included in the lookup table:

=VLOOKUP(A, Sheet 1::Table 1 :: $A$2:$B$6, 2)

Using your locations:

=VLOOKUP(H11, Total Overview::Table 4 :: $A$2:$B$6, 2)

The final argument ( ,1 ) specifies the default 'close match', and may be omitted.

Regards,
Barry

Dec 2, 2010 6:26 PM in response to swissrule

Without seeing both the error message AND the formula that generated the message, it's difficult to say with certainty what the error is. Try building your your formula by using the mouse instead of the keyboard to specify the cell and range references.

• Click on the cell where the formula is to go.
• Type (using lower case letters) =vlookup(
- VLOOKUP will change to upper case as soon as you type the (. If it doesn't, it indicates some error in the function name.
• Click cell H11 to add it to the formula.
• Type a comma.
• Click the icon for Table 4 in the Sheets list to the left to bring that table to the front.
• Click and drag to select the cells from the one containing 90 (left column) to the one containing F in the lookup table. (A2:B6 in my example)
- The formula editor should now contain =VLOOKUP(H11,Total Overview::Table 4::A2:B6
- with H11 in a blue oval and the everything to the right of the comma in an orange oval.
• Hover the mouse pointer over the right end of the orange oval, Click on the triangle that appears, and choose ($A$2) absolute row and column
• Repeat, and choose ($B$6) absolute row and column
• Type ,2)
• Click the green checkmark (or press return) to accept the formula.
- Depending on the value in H11, you should see one of the letters A, B, C, D or F in the cell containing the formula.

Dec 3, 2010 10:32 AM in response to KOENIG Yvan

Here are three pictures. The first one is a screenshot of the main format of my spreadsheet. The second one is the formula and the main table that I am having problems with. The third picture is how "table 4" is laid out. On the right side of the first picture is "Total Overview" which is the sheet where "table 4" is. I don't know if this helps, but this is the problem I am getting.


https://www.dropbox.com/s/r96lozw255beq64/Numbers2.tiff
https://www.dropbox.com/s/rxm6lvjz2o547yw/Numbers3.tiff
https://www.dropbox.com/s/frmureyta45i9gb/Numbers.tiff

Dec 3, 2010 4:55 PM in response to swissrule

Can you post your Numbers document, not jpgs, for us to look at? I've mentioned in other posts that I sometimes have problems with Numbers not recognizing a correct range and giving me an error where there should be none. I have sometimes had to use a different range to clear things up then gone back and changed it to the correct one. That may be the case here but I can't say for sure unless I can try out the document.

Dec 4, 2010 12:34 AM in response to swissrule

Hi Monica,

I see two errors.

On the table "Write", the following change is needed in H12:

H12: current formula: =VLOOKUP(H11,Total Overview t:: Table 4 :: $A:$B,2,1)

H12: corrected formula: =VLOOKUP(H11,Total Overview:: Table 4 :: $A:$B,2,1)

The second error is a misunderstanding of the meaning of "100%". "100% of a pie" means "one whole pie." In money terms, 100% of 1.00 CHF is 100 centisimi (or centimes, depending on the canton), not 100 CHF.
(Edit: or substitute $1.00 and 100¢ now that I've read your location as well as your username.)

The numbers on your lookup table must have the same meaning as the numbers calculated in column H of the various tables. They don't.

For the values listed in the lookup table and the value in H11 on this table, F is the correct grade.

The score calculated by the formula in H2, =(AVERAGE(B2:G2))/5 is the average of

5, 5, 5, 5, 5, and 5, divided by 5.

The average of that set of numbers is 5. Divided by 5, the result is 1, which is well below 60.

Correction needed:

Revise the values on the lookup table to

0.9 A
0,8 B
0.7 C
0.6 D
0 F

or

90% A
80% B
...
0 F

OR

Revise the formula in H2 to

=(AVERAGE(B2:G2))*100/5

and format all cells now showing percents as Number rather than as Percentage.

Regards,
Barry

Message was edited by: Barry

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

VLOOKUP to From Another Sheet

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.