Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I want to do the following
vlookup values from worksheet a in worksheet b and return results to cell 1 if no result from vlookup then lookup value from worksheet a in worksheet c and return value to cell 1 |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=IF(ISERROR(VLOOKUP('Sheet a'!A2,'Sheet b'!A2:D100,2,FALSE)),VLOOKUP('Sheet
a'!A2,'Sheet c'!A2:D100,2,FALSE),('Sheet a'!A2,'Sheet b'!A2:D100,2,FALSE)) Note that as you'll need to adjust ranges and column callout in the VLOOKUPs as necessary. -- Best Regards, Luke M *Remember to click "yes" if this post helped you!* "JBS" wrote: I want to do the following vlookup values from worksheet a in worksheet b and return results to cell 1 if no result from vlookup then lookup value from worksheet a in worksheet c and return value to cell 1 |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Assuming the lookup value is on one sheet or the other:
A1 = lookup value =VLOOKUP(A1,IF(COUNTIF(Sheet2!A1:A5,A1),Sheet2!A1: B5,Sheet3!A1:B5),2,0) -- Biff Microsoft Excel MVP "Luke M" wrote in message ... =IF(ISERROR(VLOOKUP('Sheet a'!A2,'Sheet b'!A2:D100,2,FALSE)),VLOOKUP('Sheet a'!A2,'Sheet c'!A2:D100,2,FALSE),('Sheet a'!A2,'Sheet b'!A2:D100,2,FALSE)) Note that as you'll need to adjust ranges and column callout in the VLOOKUPs as necessary. -- Best Regards, Luke M *Remember to click "yes" if this post helped you!* "JBS" wrote: I want to do the following vlookup values from worksheet a in worksheet b and return results to cell 1 if no result from vlookup then lookup value from worksheet a in worksheet c and return value to cell 1 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Nested if statements | Excel Worksheet Functions | |||
Nested If statements | Excel Worksheet Functions | |||
Nested IF statements | Excel Discussion (Misc queries) | |||
Nested IF statements | Excel Worksheet Functions | |||
Do I need nested IF statements? | Excel Worksheet Functions |