excel 2013... real dates..Are the dates real dates or they strings?
Which version of Excel are you using?
Easiest way is to use Pivot Table.
20250124 SumIfs Dates go14344.xlsx | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | |||
1 | Date | Amount Due | Month / Year | 2022 | 2023 | 2024 | 2025 | ||||
2 | Sunday, 19 January 2025 | 227,394.08 | January | - | - | - | 250,311.77 | ||||
3 | Sunday, 19 January 2025 | 3,339.63 | February | - | - | - | - | ||||
4 | Sunday, 19 January 2025 | 19,578.06 | March | - | - | - | - | ||||
5 | Sunday, 19 January 2025 | - | April | - | - | - | - | ||||
6 | Wednesday, 25 December 2024 | 7,478.75 | May | - | - | - | - | ||||
7 | Thursday, 19 December 2024 | 373,274.41 | June | - | - | - | - | ||||
8 | Thursday, 19 December 2024 | 3,126.00 | July | - | - | - | - | ||||
9 | Thursday, 19 December 2024 | 3,600.28 | August | - | - | - | - | ||||
10 | Thursday, 19 December 2024 | - | September | - | - | - | - | ||||
11 | Monday, 25 November 2024 | 66,262.36 | October | - | - | - | - | ||||
12 | Tuesday, 19 November 2024 | 78,297.46 | November | - | - | 408,235.04 | - | ||||
13 | Tuesday, 19 November 2024 | 424.11 | December | - | - | 387,479.44 | - | ||||
14 | Tuesday, 19 November 2024 | 260,293.29 | Total | - | - | 795,714.48 | 250,311.77 | ||||
15 | Tuesday, 19 November 2024 | 2,957.82 | |||||||||
16 | |||||||||||
Data |
Cell Formulas | ||
---|---|---|
Range | Formula | |
F2:I13 | F2 | =SUMIFS(Table1[Amount Due], Table1[Date],">=" & "1-" & [@[Month / Year]] & "-" & F$1, Table1[Date],"<=" & EOMONTH("1-" & [@[Month / Year]] & "-" & F$1,0)) |
F14 | F14 | =SUBTOTAL(109,[2022]) |
G14 | G14 | =SUBTOTAL(109,[2023]) |
H14 | H14 | =SUBTOTAL(109,[2024]) |
I14 | I14 | =SUBTOTAL(109,[2025]) |
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)excel 2013.