Formul ? ,0),"")

zone709

Well-known Member
Joined
Mar 1, 2016
Messages
2,125
Office Version
  1. 365
Platform
  1. Windows
Hi using this formula if nothing found return 0

I would like to change it if it finds nothing to return blank not 0

=IFERROR(VLOOKUP($H$3:$H$100, Data!$D$2:$AH$100,25,0),"")

Thanks
 
Returns #N/A Didn't think it would be like to just not return 0
 
Upvote 0

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Is that because H3 does not have a match?
So it sounds like you have two things going on, values that have no matches, and matches that have blanks in the column you are returning. And you want to return a blank in both instances, is that right?
We should just be able to wrap the last formula I posted in an IFERROR to handle those non-matches, i.e.
Code:
[COLOR=#333333]=IFERROR(IF(LEN(VLOOKUP([/COLOR][COLOR=#000000]$H3,Data!$D$2:$AH$100,3,0))=0,"",VLOOKUP($H3,Data!$D$2:$AH$100,3,0)),"")[/COLOR][COLOR=#000000]
[/COLOR]
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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