OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Count function

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
scrsammy
Newbie
Newbie


Joined: 26 Apr 2012
Posts: 2

PostPosted: Thu Apr 26, 2012 7:29 am    Post subject: Count function Reply with quote

In D27 I have these values: 4;11;18;25. If I put in D26 '=COUNT(4;11;18;25)', it returns 4, as I'd expect. But if I put '=COUNT(D27)' it returns 0, when I want it to return 4. Can anyone help me? Very Happy
Back to top
View user's profile Send private message
Villeroy
Super User
Super User


Joined: 04 Oct 2004
Posts: 10106
Location: Germany

PostPosted: Thu Apr 26, 2012 7:56 am    Post subject: Reply with quote

One cell can have one value.
"4;11;18;25" is a text value (string of characters with 3 semicolons and 7 digits).
COUNT counts numbers only.
Put the figures in 4 cells, say A1 to A4 and =COUNT(A1:A4) will return 4.

You should read some old Excel book from the flea market.
_________________
Rest in peace, oooforum.org
Get help on https://forum.openoffice.org
Back to top
View user's profile Send private message
scrsammy
Newbie
Newbie


Joined: 26 Apr 2012
Posts: 2

PostPosted: Fri Apr 27, 2012 12:09 am    Post subject: Reply with quote

Thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group