#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default count

Hi al,
I'm using the following function to count rows:
=COUNT(B121:B140)
As you can see,all the rows are 20,in my excel sheet only 11 of them contain
text and 9 are empty..,but actually when i use the above function i get the
result 9 not 11
Can anybody help?
Regards
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default count

Your formula works perfectly and will count the number of cells in your range
that contain numbers. Count will not count text values, if you want to count
text and number values use COUNTA which counts the cells in a reange that are
not empty.

Mike

"Pietro" wrote:

Hi al,
I'm using the following function to count rows:
=COUNT(B121:B140)
As you can see,all the rows are 20,in my excel sheet only 11 of them contain
text and 9 are empty..,but actually when i use the above function i get the
result 9 not 11
Can anybody help?
Regards

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default count

Count returns the number of cells that contain numbers. I think you want
CountA()

"Pietro" wrote:

Hi al,
I'm using the following function to count rows:
=COUNT(B121:B140)
As you can see,all the rows are 20,in my excel sheet only 11 of them contain
text and 9 are empty..,but actually when i use the above function i get the
result 9 not 11
Can anybody help?
Regards

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count Intervals of 2 Consecutive Values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 6 November 29th 05 03:27 PM
How do i count numbers and letters to find a total count of all Linda Excel Worksheet Functions 4 November 10th 05 04:51 PM
Count Intervals of 1 Numeric value in a Row and Return Count down Column Sam via OfficeKB.com Excel Worksheet Functions 8 October 4th 05 04:37 PM
Count Intervals of 2 Numeric values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 12 September 24th 05 10:58 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM


All times are GMT +1. The time now is 03:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"