Subtotal count not working

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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!!
 
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).
 
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.
 
Thanks, that did the trick.

Sunryzz said:
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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

description of count in subtotal 1
Conditional SUBTOTAL in XL210 Table 7
Counting Subtotal 4
subtotal or count 5
Subtotals by count 1
Filtered Counting 5
Subtotals 3
Subtotal counting formula in cells 1

Back
Top