PC Review


Reply
Thread Tools Rate Thread

count cells that have something in it

 
 
=?Utf-8?B?ZGVsZXRlIGF1dG9tYXRpY2FsbHk=?=
Guest
Posts: n/a
 
      24th Sep 2007
How do I count cells that have something in it? For example if A1,A4,A7,A8
has anything in it the I want cell A20 to say 4
 
Reply With Quote
 
 
 
 
Sandy Mann
Guest
Posts: n/a
 
      24th Sep 2007
=COUNTA(A1:A8)

for *something* in a cell

=COUNT(A1:A8)

to count only numbers in cell even if there is also text in some cells

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(E-Mail Removed)
Replace @mailinator.com with @tiscali.co.uk


"delete automatically" <(E-Mail Removed)> wrote
in message news:A9B28A3E-6C46-4D54-B1CC-(E-Mail Removed)...
> How do I count cells that have something in it? For example if A1,A4,A7,A8
> has anything in it the I want cell A20 to say 4
>



 
Reply With Quote
 
=?Utf-8?B?VG9wcGVycw==?=
Guest
Posts: n/a
 
      24th Sep 2007
Look at COUNTA function.

"delete automatically" wrote:

> How do I count cells that have something in it? For example if A1,A4,A7,A8
> has anything in it the I want cell A20 to say 4

 
Reply With Quote
 
=?Utf-8?B?RmFyaGFk?=
Guest
Posts: n/a
 
      24th Sep 2007
Hi,

try this:

=COUNTA(A1:A19)

if you want to count just numbers try this:

=COUNT(A1:A19)

Thanks,
--
Farhad Hodjat


"delete automatically" wrote:

> How do I count cells that have something in it? For example if A1,A4,A7,A8
> has anything in it the I want cell A20 to say 4

 
Reply With Quote
 
=?Utf-8?B?TWlrZQ==?=
Guest
Posts: n/a
 
      24th Sep 2007
=COUNTIF(A1:A8,"<>""")

"delete automatically" wrote:

> How do I count cells that have something in it? For example if A1,A4,A7,A8
> has anything in it the I want cell A20 to say 4

 
Reply With Quote
 
Ron Coderre
Guest
Posts: n/a
 
      24th Sep 2007
If your example is accurate and you only want to count the non-blank cells
in A1, A4, A7 and A8...
Try this:
=COUNTA(A1,A4,A7:A8)

Does that help?
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)

"delete automatically" <(E-Mail Removed)> wrote
in message news:A9B28A3E-6C46-4D54-B1CC-(E-Mail Removed)...
> How do I count cells that have something in it? For example if A1,A4,A7,A8
> has anything in it the I want cell A20 to say 4



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count contiguous cells, or count cell clusters BizoNo Microsoft Excel Worksheet Functions 0 16th Feb 2010 07:06 PM
Excel 2007. BUG. Count is defined as a long. Cells.Count results in error Overflow keepITcool Microsoft Excel Crashes 4 6th Jul 2006 10:14 PM
SUBTOTAL Second Count / sub-count of Filtered Visible Cells QTE Microsoft Excel Misc 13 4th Aug 2004 04:47 PM
SUBTOTAL Second Count / sub-count of Filtered Visible Cells QTE Microsoft Excel Worksheet Functions 0 27th Jul 2004 08:47 PM
SUBTOTAL Second Count / sub-count of Filtered Visible Cells QTE Microsoft Excel Worksheet Functions 3 21st Jul 2004 11:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:11 AM.