Subtotals by category

I have a list of expenses categorized according to who made them - e.g. Bob's expenses, Alice's expenses, etc. The categories are just plain text I entered into a column


At the bottom, I want there to be a subtotal for each person. E.g. Paid by Bob (Total), Paid by Alice (Total). If I also add an additional person, eg. John, then this person's subtotal would appear at the bottom as well.


Is this possible?

Posted on Dec 20, 2020 2:47 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 20, 2020 3:26 AM

Hi mbp20111,


The SUMIF function is your friend.



Formula in cell C13 =SUMIF(B2:B9,$A13,C2:C9)

Fill down.


Or consider two tables to make it easier to add new rows. The formula will automatically adjust to the whole columns:



Formula in Table 2 B2 =SUMIF(Table 1::B,$A2,Table 1::C)


Regards,

Ian.

3 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Subtotals by category

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.