"blank cells"

timetabler

New Member
Joined
Jun 15, 2010
Messages
27
When I paste a data set into excel, I want to make calculations based on the number of cells that are blank.
However, some cells look blank, have no formula, but are not "blank", therefore countblank gives an incorrect number, I have checked there is no formula or single space in the cell.
When I select one or multiple cells and press delete, the countblank returns the correct number of blank cells.

Any ideas what is causing the "blank" cells to return that they are not, and if there is a shortcut to resolving the problem (even if I have to check each time I paste in).
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
You could maybe use:

=SUMPRODUCT(--(LEN(Range)=0))

instead. Note that this will count cells containing a formula resulting in "" as blank though.
 
Upvote 0
When I paste a data set into excel, I want to make calculations based on the number of cells that are blank.
However, some cells look blank, have no formula, but are not "blank", therefore countblank gives an incorrect number, I have checked there is no formula or single space in the cell.
When I select one or multiple cells and press delete, the countblank returns the correct number of blank cells.

Any ideas what is causing the "blank" cells to return that they are not, and if there is a shortcut to resolving the problem (even if I have to check each time I paste in).


Could there be more than a single space in each cell ? Select your range Edit and Replace - what (space) with ""
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,824
Members
449,050
Latest member
Bradel

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