Forum Discussion
smanas87
Apr 03, 2023Copper Contributor
Sum of Total Paid for each ID
Hello I'm trying to calculate Total paid amount 6m prior and 6m after initial based on the Paid, 6m prior to initial and 6m post initial columns. Please see below. Please advise a formula Tha...
- Apr 04, 2023
Done. See attached. The SUMIF function now does the totaling by ID.
I do recommend upgrading, however. There are quite a few new functions and capabilities in Excel, capabilities that are very exciting.
mathetes
Apr 03, 2023Silver Contributor
I would put these sums elsewhere on the spreadsheet, since you are basically (in the case of your examples at any rate), displaying two rows on the input end of things but expecting one row at the output.
This is the formula I used (which does require Excel 2021 or newer).
=SUM(FILTER(Table1[Paid],(Table1[ID]=J2)*(Table1[6m prior to Initial]=1),0))
Below is an image of the sheet, and I've attached the actual spreadsheet.