Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Kyli
 
Posts: n/a
Default Subtotal function

I have a spreadsheet that I need a total for one column at each change in
another column. Example:
abc 0
abc 15
abc 22
abc 0
def 5
def 9
def 17

Would produce the following:
abc 37
def 31

Thanks in advance for helping! : )
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

That is exactly what datasubtotals will do and if you want it to return just
the same as in your post just click on the 2 in the subtotal pane to the left

Regards,

Peo Sjoblom

"Kyli" wrote:

I have a spreadsheet that I need a total for one column at each change in
another column. Example:
abc 0
abc 15
abc 22
abc 0
def 5
def 9
def 17

Would produce the following:
abc 37
def 31

Thanks in advance for helping! : )

  #3   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
use a pivot table for this or use 'Data - subtotals'

--
Regards
Frank Kabel
Frankfurt, Germany
"Kyli" schrieb im Newsbeitrag
...
I have a spreadsheet that I need a total for one column at each change in
another column. Example:
abc 0
abc 15
abc 22
abc 0
def 5
def 9
def 17

Would produce the following:
abc 37
def 31

Thanks in advance for helping! : )



  #4   Report Post  
Kyli
 
Posts: n/a
Default

Hi Frank

When I pull up data - subtotal, I get "At each change in", "Use Function",
and "Add subtotal to".
I used At each change in: Col A, Use Function: Sum, and Add Subtotal to: Col
B. For some reason, all I get are zeros.

Any thoughts?
Thanks,
Kyli

"Frank Kabel" wrote:

Hi
use a pivot table for this or use 'Data - subtotals'

--
Regards
Frank Kabel
Frankfurt, Germany


"Kyli" schrieb im Newsbeitrag
...
I have a spreadsheet that I need a total for one column at each change in
another column. Example:
abc 0
abc 15
abc 22
abc 0
def 5
def 9
def 17

Would produce the following:
abc 37
def 31

Thanks in advance for helping! : )




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
Subtotal function George Gee New Users to Excel 3 January 20th 05 08:37 PM
Formula to list unique values JaneC Excel Worksheet Functions 4 December 10th 04 12:25 AM
Subtotal And Countif Sheryl Excel Discussion (Misc queries) 4 December 9th 04 07:18 PM
Excel's Pivot Table & Subtotal function should have a median fie. Mary Excel Worksheet Functions 1 December 3rd 04 03:27 PM
change function variable prompts?? thinkingfield Excel Worksheet Functions 1 November 8th 04 04:01 PM


All times are GMT +1. The time now is 01:16 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"