Vlookup reporting FALSE with 2 VLookup Functions.

EddieD

New Member
Joined
Jun 12, 2014
Messages
30
Office Version
  1. 365
Platform
  1. MacOS
Good afternoon,

I am building a VLookup formula that is to perform a different VLookup calculation, depending upon a selection box in another cell.

I want the first argument to look up C11. If C11 = 'NEW', then perform a certain VLookup calc.
If it is anything other than 'NEW', then perform another VLookup calculation.

Currently it works fine when NEW is selected, but when anything else is selected, it reports back as FALSE in my cell.
Not sure what I'm doing wrong. Any advice?

=IF(C11="NEW",IFNA(VLOOKUP($A11,'SHEET'!1:$238,51,FALSE),IFNA(VLOOKUP($A11,'SHEET'!1:$238,63,FALSE),"")))

Thank you.
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Maybe this will work?
Excel Formula:
=IFERROR(IF(C11="NEW",VLOOKUP($A11,'SHEET'!1:$238,51,0),VLOOKUP($A11,'SHEET'!1:$238,63,0)),"")
 
Upvote 0
Solution
Try this
=IF(C11="NEW",IFNA(VLOOKUP($A11,SHEET!1:$238,51,FALSE),"NA Found"),IFNA(VLOOKUP($A11,SHEET!1:$238,63,FALSE),""))
 
Upvote 0

Forum statistics

Threads
1,214,982
Messages
6,122,580
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top