Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default trouble shooting "COUNT"

I have a 1000 line spread sheet where one column has an entry that is a code
as follows

X YY ZZ (Where each of the groups can be one or two characters

There are 15 or so different codes

I want to tally how many cells there are for each code, and used the COUNTF
function ....BUT the totals given by the COUNTF function are not right. It
is loosing a few of the cells. EG If I use the FIND ALL tool, it will show
65 "S H TN" entries, but COUNT shows only 59. If I sort on the column, I can
easily count the entries and this confirms that COUNT is loosing a few
entries. Any iddea why this happens?
  #2   Report Post  
Posted to microsoft.public.excel.misc
dlw dlw is offline
external usenet poster
 
Posts: 510
Default trouble shooting "COUNT"

are there maybe spaces at the end of the text?
EG "S H TN "


"epsaklas" wrote:

I have a 1000 line spread sheet where one column has an entry that is a code
as follows

X YY ZZ (Where each of the groups can be one or two characters

There are 15 or so different codes

I want to tally how many cells there are for each code, and used the COUNTF
function ....BUT the totals given by the COUNTF function are not right. It
is loosing a few of the cells. EG If I use the FIND ALL tool, it will show
65 "S H TN" entries, but COUNT shows only 59. If I sort on the column, I can
easily count the entries and this confirms that COUNT is loosing a few
entries. Any iddea why this happens?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default trouble shooting "COUNT"

Good point and thanks!! Yes there were some that had spaces and removing the
spaces solved some of the problem, but not all. Is there a way to highlight
all of the entries in a column that COUNT counts, so that I can see which
ones it is not counting? Any other idea?

"dlw" wrote:

are there maybe spaces at the end of the text?
EG "S H TN "


"epsaklas" wrote:

I have a 1000 line spread sheet where one column has an entry that is a code
as follows

X YY ZZ (Where each of the groups can be one or two characters

There are 15 or so different codes

I want to tally how many cells there are for each code, and used the COUNTF
function ....BUT the totals given by the COUNTF function are not right. It
is loosing a few of the cells. EG If I use the FIND ALL tool, it will show
65 "S H TN" entries, but COUNT shows only 59. If I sort on the column, I can
easily count the entries and this confirms that COUNT is loosing a few
entries. Any iddea why this happens?

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
EXCEL allow 2 options on status bar e.g. show "Count" + "Sum" LEJM Excel Discussion (Misc queries) 2 November 15th 07 07:49 PM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
Count cells that contain "Y" in columnA IF contains"X" in columnB holliedavis Excel Worksheet Functions 6 July 20th 06 06:12 PM
Count(if(A3:A200)="100000" if (B3:B200="Y") and (C3:C200=Z))) Prasad Excel Discussion (Misc queries) 2 June 27th 06 06:39 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM


All times are GMT +1. The time now is 12:47 PM.

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"