Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

counting number of non-blank cells

Status
Not open for further replies.

jcf27

IS-IT--Management
Aug 24, 2002
21
0
0
US
Newbie question --

What is the proper syntax in excel to count the number of non-blank cells in a range (A1:A1000) ?

The cells may contain anything.

Thanks in advance!

J.

 
=COUNTBLANK(A1:A1000) [yinyang] Tranpkp [pc2]
************************************
- Let me know if this helped/worked!
Please remember to give helpful posts the stars they deserve!
This facilitates others navigating through the threads / posts!
 
It works for blanks, how about counting non-blanks?

Thanks!

J.
 
Sorry misread,
=COUNTA(A1:A!000)
[yinyang] Tranpkp [pc2]
************************************
- Let me know if this helped/worked!
Please remember to give helpful posts the stars they deserve!
This facilitates others navigating through the threads / posts!
 
Just what I needed. Worked great!

Thank you!

J.
 
Yup, sorry, getting sloppy in my help, this thread should have been 2 posts long [yinyang] Tranpkp [pc2]
************************************
- Let me know if this helped/worked!
Please remember to give helpful posts the stars they deserve!
This facilitates others navigating through the threads / posts!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top