ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   subtotal function won't work (https://www.excelbanter.com/excel-worksheet-functions/227079-subtotal-function-wont-work.html)

RicBob

subtotal function won't work
 
Hi -
I'm using subtotal to count records in a spreadsheet, which I've used
hundreds of times before. Unfortunately, this time the function continues to
return the value "0". I've tried turning filters on and off, auto calc on
and off, tried different columns, tried changing the subtotal function from 2
to 102 and back. All attempts return a value of "0". Any thoughts?
=subtotal(2,b2:b100)
in a spreadsheet in which the column b has names of individuals in each row
beginning with 2, and I want to count the number of individuals as filters
are applied to other columns in the spreadsheet.

RicBob

subtotal function won't work
 
Never mind! As soon as I posted I tried the countA function instead. I
thought I had done so already but apparently not. Apologies to all!

"RicBob" wrote:

Hi -
I'm using subtotal to count records in a spreadsheet, which I've used
hundreds of times before. Unfortunately, this time the function continues to
return the value "0". I've tried turning filters on and off, auto calc on
and off, tried different columns, tried changing the subtotal function from 2
to 102 and back. All attempts return a value of "0". Any thoughts?
=subtotal(2,b2:b100)
in a spreadsheet in which the column b has names of individuals in each row
beginning with 2, and I want to count the number of individuals as filters
are applied to other columns in the spreadsheet.



All times are GMT +1. The time now is 05:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com