Nested IF statement with Vlookup - HELP PLEASE

janema

Board Regular
Joined
Nov 28, 2022
Messages
143
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2011
  5. 2010
Platform
  1. Windows
  2. Mobile
I have been trying to get this formula to work, but keep failing. I want excel to return a BLANK if it is an error or if the data from the source is blank. I am using a vlookup to pull the data so theoretically, if the result is an error ("IFERROR") or if the source data is blank, the end should return blank. So far, I have tried: =IFERROR(VLOOKUP(D210,'06.2022 file'!$B$1:$S$1000,13,FALSE),""),ISBLANK(LOOKUP(D210,'06.2022 file'!$B$1:$S$1000,13,FALSE),"") but it does not work. I also tried: =IFERROR(VLOOKUP(D210,'06.2022 file'!$B$1:$S$1000,13,FALSE),"",ISNA(VLOOKUP(D210,'06.2022 file'!$B$1:$S$1000,13,FALSE),"") but no luck. It returns a "0" when there is data source is blank, but I want it to just also be blank. How do I combine the two formulas without an error?

Please help!
 
In that case how about
Excel Formula:
=LET(v,VLOOKUP(D210,'06.2022 file'!$B$1:$S$1000,13,FALSE),IF(ISNA(v),"",IF(v="","",v)))
 
Upvote 0

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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