A formula resulting in a REAL blank

Jeffrey Mahoney

Well-known Member
Joined
May 31, 2015
Messages
2,802
Office Version
  1. 365
Platform
  1. Windows
This seems so fundamental and I feel silly posting it. I like seeing zero results as blank because it doesn't clutter the field and is easier to see.

As you all know a formula in a cell resulting in a Null or double quote cannot be used in math. I call that a pseudo blank cell.
like: Cell B1 =If(A1=0,"",A1) [if A1 is zero, the result would be null]

If I then use cell B1 to add some cells I get #VALUE. Or I can create a formula like =Sum(B1)+C2+D4. I forget that I have to do that.

A true blank cell returns zero

Is there a function that can actually return a value that mimics a blank cell?
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Nope, fraid not. However if you don't want to see zeros in cells your could use a custom cell format, or just hide zeros in the advanced options.
 
Upvote 0
Solution
Nope, fraid not. However if you don't want to see zeros in cells your could use a custom cell format, or just hide zeros in the advanced options.
Thank you Fluff. The other reason for not wanting zeros is that it fouls averages.
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,338
Messages
6,124,360
Members
449,155
Latest member
ravioli44

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