Formul ? ,0),"")

zone709

Well-known Member
Joined
Mar 1, 2016
Messages
2,129
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

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
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,224,830
Messages
6,181,225
Members
453,025
Latest member
Hannah_Pham93

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