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 » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

counting



 
 
Thread Tools Display Modes
  #1  
Old April 21st, 2010, 08:55 PM posted to microsoft.public.excel.misc
Pierre
external usenet poster
 
Posts: 223
Default counting

hello
i have cells from A1:A3 and A6:A10 which contain text strings.
now what should be the formula if i want to count these cells ? (answer
should be 8)

what should also be the formula change if the cells would contain numbers ?


  #2  
Old April 21st, 2010, 09:17 PM posted to microsoft.public.excel.misc
Mike H
external usenet poster
 
Posts: 8,419
Default counting

Hmm,

Is this homework, we don't normally do that here we point people in the
right direction.

Look in Excel help for

COUNTA
COUNT

and you should be able to work it out.
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"pierre" wrote:

hello
i have cells from A1:A3 and A6:A10 which contain text strings.
now what should be the formula if i want to count these cells ? (answer
should be 8)

what should also be the formula change if the cells would contain numbers ?


  #3  
Old April 21st, 2010, 09:20 PM posted to microsoft.public.excel.misc
Dave Peterson
external usenet poster
 
Posts: 19,791
Default counting

=counta(a1:a3,a6:a10)
will count the cells that have anything in them -- numbers, text, even formulas
that evaluat to "".

=count(a1:a3,a6:a10)
will count the cells that only have numbers in them.



pierre wrote:

hello
i have cells from A1:A3 and A6:A10 which contain text strings.
now what should be the formula if i want to count these cells ? (answer
should be 8)

what should also be the formula change if the cells would contain numbers ?


--

Dave Peterson
 




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 08:24 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.