Combining ISBLANK and IFNA in a simple formula

Joined
May 23, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I know this should be simple but either it is not possible or my brain just cannot put it together correctly and I know it shouldn't be difficult.


Both of these formulas work but are each are missing either one or the other options I need, I need the ISBLANK to keep blank column for a picky boss and the "not found" when A21 is not in Table1

=IFNA(VLOOKUP(A21,Table1,2,FALSE),"Not found" (this gives me the "not found" that i need but not the blank column)
=IF(ISBLANK(A21),"",VLOOKUP(A21,Table1,2,FALSE)) (this gives me the blank column but now I have no "not found" just #NA)


Can they be combined?
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Just drop the IFNA formula into the second part of the second formula.
(That sounded less confusing in my head... see below)

Excel Formula:
=IF(ISBLANK(A21),"",IFNA(VLOOKUP(A21,Table1,2,FALSE),"Not found"))

I didn't test it, but this should work.
 
Upvote 0
Solution
Hi & welcome to MrExcel.
How about
Excel Formula:
IF(ISBLANK(A21),"",ifna(VLOOKUP(A21,Table1,2,FALSE),"Not found"))
 
Upvote 0
This worked for me (I combined your formulas into one overarching one)

Excel Formula:
=IF(ISBLANK(A1),"",IFNA(VLOOKUP(A1,Table1,2,FALSE),"Not found"))
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,128
Messages
6,123,206
Members
449,090
Latest member
bes000

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