Setting Cell equal to blank

wiscokid

Board Regular
Joined
Aug 2, 2004
Messages
112
I have an if statement, that if true, I would like the cell to be left blank (not " ", but blank), otherwise the if statement will return a value.

Does anyone know how to set a cell = blank in an if statament?

thanks in advance
 

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
What exactly do you mean by blank?

The "" is an empty string, is that what you don't want?
 
Upvote 0
blank cells

in your request, you have a space between the quotation marks. if you want a blank cell, you get rid of the space. the cell isn't blank per se, in the toolbar you can still see the formula. you can always apply conditional formatting to print a TRUE statement in white and then it would appear to be blank. the help screens in Excel have several options for this.
 
Upvote 0
The issue I am having is for the following formula:

=IF(D5<0.02,,D5)
this sets the sell = 0.0 if d5<.02

If I use
=IF(D5<0.02," ",D5)
then it makes the cell blank (which I want), but my
conditional formatting makes the cell green
my conditional formatting is:
If cell >.10 then green
If cell between .05 and .10 then blue
if cell between .02 and .05 then yellow

If the cell is less than .02, I would like the cell to be blank and not be formatted (kept white)

any ideas?
 
Upvote 0

Forum statistics

Threads
1,214,885
Messages
6,122,090
Members
449,065
Latest member
Danger_SF

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