Subtotal function

K

Kyli

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! : )
 
P

Peo Sjoblom

That is exactly what data>subtotals 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
 
K

Kyli

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
 

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

Top