How can I add to a current formula to return a blank if the data set does not have a value?

Peptide

Board Regular
Joined
Apr 12, 2016
Messages
224
Office Version
  1. 365
Platform
  1. Windows
Hello -
How can I add to a current formula to return a blank if the data set does not have a value? Right now it returns a 0 but I need it to be blank.


=IFERROR(INDEX('Pricing Table'!$CE$3:$ET$3,MATCH(B252,'Pricing Table'!$CE$4:$ET$4,0)),"")

Thanks in advance!
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
1 way...
=if(IFERROR(INDEX('Pricing Table'!$CE$3:$ET$3,MATCH(B252,'Pricing Table'!$CE$4:$ET$4,0)),"")=0,"",IFERROR(INDEX('Pricing Table'!$CE$3:$ET$3,MATCH(B252,'Pricing Table'!$CE$4:$ET$4,0)),""))
 
Upvote 0
You can either use;


If you have blank rows in your lookup values;

Code:
[COLOR=#333333]=if(B1="","",INDEX('Pricing Table'!$CE$3:$ET$3,MATCH(B252,'Pricing Table'!$CE$4:$ET$4,0)))[/COLOR]

or

Navigate to File/Options/Advanced/Scroll down to "Display options in this worksheet", un-tick "Show a zero in cells that have zero value"
 
Upvote 0
FDibbins,
Thank you for the formula provided - worked beautifully!
 
Upvote 0

Forum statistics

Threads
1,216,473
Messages
6,130,838
Members
449,597
Latest member
buikhanhsang

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