# Vlookup reporting FALSE with 2 VLookup Functions.

#### EddieD

##### New Member
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

Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

#### Z51

##### Well-known Member
Maybe this will work?
Excel Formula:
``=IFERROR(IF(C11="NEW",VLOOKUP(\$A11,'SHEET'!1:\$238,51,0),VLOOKUP(\$A11,'SHEET'!1:\$238,63,0)),"")``

#### Jeffrey Mahoney

##### Well-known Member
Try this
=IF(C11="NEW",IFNA(VLOOKUP(\$A11,SHEET!1:\$238,51,FALSE),"NA Found"),IFNA(VLOOKUP(\$A11,SHEET!1:\$238,63,FALSE),""))

#### EddieD

##### New Member
=IFERROR(IF(C11="NEW",VLOOKUP(\$A11,'SHEET'!1:\$238,51,0),VLOOKUP(\$A11,'SHEET'!1:\$238,63,0)),"")

The first one works! Thank you.

#### EddieD

##### New Member
Try this
=IF(C11="NEW",IFNA(VLOOKUP(\$A11,SHEET!1:\$238,51,FALSE),"NA Found"),IFNA(VLOOKUP(\$A11,SHEET!1:\$238,63,FALSE),""))
Cant seem to get this one to go, but thank you very much.

Replies
0
Views
123
Replies
0
Views
275
Replies
3
Views
402
Replies
0
Views
196
Replies
3
Views
409

1,186,774
Messages
5,959,713
Members
438,442
Latest member
azedin4

### 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.

### Which adblocker are you using?

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

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