IF with VLOOKUP with Data Validation

scott11

New Member
Joined
Sep 13, 2016
Messages
28
Hello,

I am attempting to return a blank cell with the below formula:

=IF(VLOOKUP(K35,$A$27:$B$30,2,0)="","",VLOOKUP(K35,$A$27:$B$30,2,0))

However, I continue to receive the #N/A error. My VLOOKUP range includes the below:

1614869369546.png


Cell K35 contains a Data Validation (list) range that is comprised of cells A27:A30. When I choose any option but the blank cell I receive the corresponding value, but when I select the blank cell as a dropdown option I get the #N/A error.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
60,131
Office Version
  1. 365
Platform
  1. Windows
How about
Excel Formula:
=IFNA(VLOOKUP(K35,$A$27:$B$30,2,0),0)
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
60,131
Office Version
  1. 365
Platform
  1. Windows
You're welcome & thanks for the feedback.
 

Forum statistics

Threads
1,136,797
Messages
5,677,789
Members
419,720
Latest member
kurman

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
Top