A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

count blank cells?



 
 
Thread Tools Display Modes
  #1  
Old September 22nd, 2003, 02:14 PM
Gregg Stone
external usenet poster
 
Posts: n/a
Default count blank cells?

I need to count the number of blank cells in a column, including cells that
are blank but have a formula in them. Don't think I can use the COUNTA
function or COUNTBLANK function.

Anyone got any ideas?

Thanks in advance for suggestions.


  #2  
Old September 22nd, 2003, 02:31 PM
Jason Morin
external usenet poster
 
Posts: n/a
Default count blank cells?

COUNTBLANK should suffice for all cells that are truly
empty and those that are blank due to formula (where a ""
was used). If the formulas actually use " ", then use:

=COUNTBLANK(A1:A10)+COUNTIF(A1:A10,CHAR(32))

HTH
Jason
Atlanta, GA

-----Original Message-----
I need to count the number of blank cells in a column,

including cells that
are blank but have a formula in them. Don't think I can

use the COUNTA
function or COUNTBLANK function.

Anyone got any ideas?

Thanks in advance for suggestions.


.

  #3  
Old September 22nd, 2003, 07:26 PM
Harlan Grove
external usenet poster
 
Posts: n/a
Default count blank cells?

"Jason Morin" wrote...
COUNTBLANK should suffice for all cells that are truly
empty and those that are blank due to formula (where a ""
was used). If the formulas actually use " ", then use:

=COUNTBLANK(A1:A10)+COUNTIF(A1:A10,CHAR(32))

...

Or =SUMPRODUCT(--(TRIM(A1:A10)=""))

--
Never attach files.
Snip unnecessary quoted text.
Never multipost (though crossposting is usually OK).
Don't change subject lines because it corrupts Google newsgroup archives.
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:31 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.