Is there a way to generate a dynamic table of subtotals?

JenniferMurphy

Well-known Member
Joined
Jul 23, 2011
Messages
2,532
Office Version
  1. 365
Platform
  1. Windows
Is there a way to generate a dynamic table of subtotals from the data in another table?

The table on the left contains donations made to several people during 2021. The table on the right shows the subtotals for each of these people. Is there a way to generate the table on the right dynamically -- that is, without me having to enter each name on its own row -- so that if I add a new donation to a new person in the table on the left, the table on the right will automatically grow a new row? Thanks

Donations & RMD.xlsx
BCDEFG
5DateToAmountNameYear Total
62/03/21 Susie$100Freddie$800
72/14/21 Freddie$200Johnny$100
83/13/21 Freddie$200Molly$700
94/01/21 Susie$100Susie$400
105/22/21 Molly$300Total$2,000
116/15/21 Molly$200
126/19/21 Johnny$100
137/07/21 Molly$100
148/31/21 Freddie$300
159/09/21 Susie$200
169/21/21 Freddie$100
1712/22/21 Molly$100
18Total$2,000
Test2
Cell Formulas
RangeFormula
G6:G9G6=SUMIFS(Table1[Amount],Table1[To],"=" & [@Name])
G10G10=SUBTOTAL(109,[Year Total])
D18D18=SUBTOTAL(109,[Amount])
 
The posts above except mine use =SUBTOTAL(109,[Amount]).

My Excel which is the latest 14931.20120 will not accept that syntax.
The function =SUBTOTAL(109,Table1[Amount]) does work.

The recent version of 365 takes a long time to load the first file and I often get the message "File Not Responding". I followed instructions to correct the problem but it just removed the program.

My apologies if I am not allowed to ask questions. If I started a new thread, I would refer to this thread.
 
Upvote 0

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
How is it entered?
You do not enter it, Excel does.
Create the table with the other values.
Select something in the table
Table Design ribbon tab -> Total Row

1646858299653.png
 
Upvote 0

Forum statistics

Threads
1,215,093
Messages
6,123,068
Members
449,091
Latest member
remmuS24

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top