Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Nested IF statement
I am trying to do a nested if statement with VLookup function. Here is an
example: =IF(C156="NJ",(VLOOKUP($A156,Nigel!$A$10:$S$24,8,F ALSE))),IF(C156="JAM",(VLOOKUP($A156,JAM!$A$10:$S$ 24,8,FALSE))) Not sure what i am doing wrong. the first statement works (Nigel). for the second one i get #VALUE can someone help me? thanks |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Nested IF statement
You have too many unnecessay ( ).
=IF(C156="NJ",VLOOKUP($A156,Nigel!$A$10:$S$24,8,0) ,IF(C156="JAM",VLOOKUP($A156,Jam!$A$10:$S$24,8,0), "")) -- Biff Microsoft Excel MVP "Mary Lou" wrote in message ... I am trying to do a nested if statement with VLookup function. Here is an example: =IF(C156="NJ",(VLOOKUP($A156,Nigel!$A$10:$S$24,8,F ALSE))),IF(C156="JAM",(VLOOKUP($A156,JAM!$A$10:$S$ 24,8,FALSE))) Not sure what i am doing wrong. the first statement works (Nigel). for the second one i get #VALUE can someone help me? thanks |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Nested IF statement
Mary Lou wrote:
I am trying to do a nested if statement with VLookup function. Here is an example: =IF(C156="NJ",(VLOOKUP($A156,Nigel!$A$10:$S$24,8,F ALSE))),IF(C156="JAM",(VLOOKUP($A156,JAM!$A$10:$S$ 24,8,FALSE))) Not sure what i am doing wrong. the first statement works (Nigel). for the second one i get #VALUE can someone help me? thanks Try this: =IF(C156="NJ",VLOOKUP($A156,Nigel!$A$10:$S$24,8,FA LSE),IF(C156="JAM",VLOOKUP($A156,JAM!$A$10:$S$24,8 ,FALSE))) |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Nested IF statement
THANK YOU - PERFECT!!!
"Glenn" wrote: Mary Lou wrote: I am trying to do a nested if statement with VLookup function. Here is an example: =IF(C156="NJ",(VLOOKUP($A156,Nigel!$A$10:$S$24,8,F ALSE))),IF(C156="JAM",(VLOOKUP($A156,JAM!$A$10:$S$ 24,8,FALSE))) Not sure what i am doing wrong. the first statement works (Nigel). for the second one i get #VALUE can someone help me? thanks Try this: =IF(C156="NJ",VLOOKUP($A156,Nigel!$A$10:$S$24,8,FA LSE),IF(C156="JAM",VLOOKUP($A156,JAM!$A$10:$S$24,8 ,FALSE))) . |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Nested IF statement
You're welcome!
Mary Lou wrote: THANK YOU - PERFECT!!! "Glenn" wrote: Mary Lou wrote: I am trying to do a nested if statement with VLookup function. Here is an example: =IF(C156="NJ",(VLOOKUP($A156,Nigel!$A$10:$S$24,8,F ALSE))),IF(C156="JAM",(VLOOKUP($A156,JAM!$A$10:$S$ 24,8,FALSE))) Not sure what i am doing wrong. the first statement works (Nigel). for the second one i get #VALUE can someone help me? thanks Try this: =IF(C156="NJ",VLOOKUP($A156,Nigel!$A$10:$S$24,8,FA LSE),IF(C156="JAM",VLOOKUP($A156,JAM!$A$10:$S$24,8 ,FALSE))) . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
IF Statement or nested IF | Excel Worksheet Functions | |||
Nested IF/OR/AND statement | Excel Discussion (Misc queries) | |||
Nested IF Statement | Excel Discussion (Misc queries) | |||
Nested IF Statement | Excel Discussion (Misc queries) | |||
7+ nested if statement? | Excel Worksheet Functions |