Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Tina
 
Posts: n/a
Default how to sum and count in subtotal

How do i apply or use from sub-total one column as sum and another colum as
count using the same data: Example:
Amount
Store 1 $500
Store 2 300.00
subtotal $800 Using sum is $800
but using Count should be 2





  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default how to sum and count in subtotal

One kind of cheating way is to just add another column:

=if(b2="",0,1)

Then include that field in your subtotal (as sum).



Tina wrote:

How do i apply or use from sub-total one column as sum and another colum as
count using the same data: Example:
Amount
Store 1 $500
Store 2 300.00
subtotal $800 Using sum is $800
but using Count should be 2


--

Dave Peterson
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



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