Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Karen S.
 
Posts: n/a
Default When I subtotal in Excel how can I count the number of subtotals?

I subtotal my current balance on address and then I want to count how many
distinct addresses there are
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

If you total for every change in address then each distinct address would be
the same as each Total? So

=SUMPRODUCT(--(ISNUMBER(FIND("Total",A1:A300))))-1

the minus 1 at the end is for the gran total that shoudn't be counted, or
just copy all the addresses somewhere else and use a formula on thos addresses

=SUM(1/COUNTIF(A2:A300,A2:A300))

entered with ctrl + shift & enter

Regards,

Peo Sjoblom




"Karen S." wrote:

I subtotal my current balance on address and then I want to count how many
distinct addresses there are

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 dates in excel skchth Excel Discussion (Misc queries) 6 March 3rd 05 12:35 AM
How Do I open an excel file without Excel Viewer support CocoriteBallGiants Excel Discussion (Misc queries) 2 February 4th 05 10:50 PM
SUBTOTAL and then count with criteria Jane Excel Worksheet Functions 3 January 13th 05 07:04 AM
Why is the subtotal function in excel 2003 very slow compared to . wd1 Excel Worksheet Functions 0 January 10th 05 01:23 AM
Excel Count Formula Ronil Patel Excel Worksheet Functions 3 December 6th 04 08:28 PM


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