Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Sunryzz
 
Posts: n/a
Default Subtotal count not working

I have two spreadsheets with different data which I am subtotaling the same
way; a count of the number of entries in a certain column at each change in
the entry in the code column. In both cases, the formula is the same -
subtotal(3,cell:cell). However, in one spreadsheet when I have a code that
has no entries in the counted column, I get a count of 0 and the other
spreadsheet gives me a count of 1. There is nothing in the column being
counted in either case and I can't figure out why they are different. Does
anyone have any suggestions of what I might be doing wrong?
Thanks!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
Sunryzz
 
Posts: n/a
Default Subtotal count not working

I have one more piece of info I have found. When I click on the function
button to look at how the cell is calculating for these cells, the
calculation is different. The cell that is counting correctly (count = 0)
shows "0" in the cell it is counting. The one that is counting incorrectly
(count = 1) shows "" in the cell it is counting. When you click in the cells
being counted, they both have nothing in them and are formatted the same
(number w/no decimal places).

"Sunryzz" wrote:

I have two spreadsheets with different data which I am subtotaling the same
way; a count of the number of entries in a certain column at each change in
the entry in the code column. In both cases, the formula is the same -
subtotal(3,cell:cell). However, in one spreadsheet when I have a code that
has no entries in the counted column, I get a count of 0 and the other
spreadsheet gives me a count of 1. There is nothing in the column being
counted in either case and I can't figure out why they are different. Does
anyone have any suggestions of what I might be doing wrong?
Thanks!!

  #3   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Subtotal count not working

Oh, I bet there is something in that worksheet that gives you a 1.

Maybe it's as simple as a space character.

Maybe it's a formula that returns ""

(or used to be a formula that returned "" and was converted to values.)

I'd show all the data.
Select the first cell at the top of the column and do:
End|down arrow.

If excel stops on a cell (not in row 65536), hit the delete key to clear the
contents.

Sunryzz wrote:

I have two spreadsheets with different data which I am subtotaling the same
way; a count of the number of entries in a certain column at each change in
the entry in the code column. In both cases, the formula is the same -
subtotal(3,cell:cell). However, in one spreadsheet when I have a code that
has no entries in the counted column, I get a count of 0 and the other
spreadsheet gives me a count of 1. There is nothing in the column being
counted in either case and I can't figure out why they are different. Does
anyone have any suggestions of what I might be doing wrong?
Thanks!!


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
Sunryzz
 
Posts: n/a
Default Subtotal count not working

Thanks, that did the trick.

"Sunryzz" wrote:

I have one more piece of info I have found. When I click on the function
button to look at how the cell is calculating for these cells, the
calculation is different. The cell that is counting correctly (count = 0)
shows "0" in the cell it is counting. The one that is counting incorrectly
(count = 1) shows "" in the cell it is counting. When you click in the cells
being counted, they both have nothing in them and are formatted the same
(number w/no decimal places).

"Sunryzz" wrote:

I have two spreadsheets with different data which I am subtotaling the same
way; a count of the number of entries in a certain column at each change in
the entry in the code column. In both cases, the formula is the same -
subtotal(3,cell:cell). However, in one spreadsheet when I have a code that
has no entries in the counted column, I get a count of 0 and the other
spreadsheet gives me a count of 1. There is nothing in the column being
counted in either case and I can't figure out why they are different. Does
anyone have any suggestions of what I might be doing wrong?
Thanks!!

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 unique values among duplicates in a subtotal range jcpotwor Excel Discussion (Misc queries) 2 January 12th 06 01:29 PM
how to sum and count in subtotal Tina Excel Discussion (Misc queries) 1 December 31st 05 01:39 AM
count rownumbers in loop TUNGANA KURMA RAJU Excel Discussion (Misc queries) 9 October 3rd 05 09:29 AM
Count number to reach a cumulative value Bruce Excel Worksheet Functions 5 January 25th 05 05:14 PM
SUBTOTAL and then count with criteria Jane Excel Worksheet Functions 3 January 13th 05 07:04 AM


All times are GMT +1. The time now is 06:06 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"