Muthukrishnan V
Active Member
- Joined
- May 29, 2008
- Messages
- 276
- Office Version
- 365
- Platform
- Windows
Excel 365
I have a worksheet 0f daily expenses.
Column A: dates in dd-mm-yyyy format. Commencing A4 as 01-01-2020, A5 as 02-01-2020 and so on
upto A 369 as 31-12-2020.
Column B4 to B369 expenses amount in numerical (whole numbers like 25263 without digits)
Column C4 to Column C369 contains following formula to give MONTHLY cumulative expenses.
Formula in Column C4 copied upto C369.
Column C4 formula:
=IF(A4>TODAY," ",SUMPRODUCT(--(MONTH($A$4:A4)=MONTH(A4)),($B$4:b4)))
I am comfortable from 01-01-2020 to 31-12-2020.
On 01-01-2021 (with the start of fresh year), in A370 I typed 01-01-2021; in B370 I typed 14800 and
then copied formula in C 369 to C370.
Now Cell C370 shows 93100 (being month of January 2020 total expenses 78300 plus 01-01-2021 expenses 14800)
I request you to kindly advise me formula in Column C to start afresh monthwise totals for the year 2021
I have a worksheet 0f daily expenses.
Column A: dates in dd-mm-yyyy format. Commencing A4 as 01-01-2020, A5 as 02-01-2020 and so on
upto A 369 as 31-12-2020.
Column B4 to B369 expenses amount in numerical (whole numbers like 25263 without digits)
Column C4 to Column C369 contains following formula to give MONTHLY cumulative expenses.
Formula in Column C4 copied upto C369.
Column C4 formula:
=IF(A4>TODAY," ",SUMPRODUCT(--(MONTH($A$4:A4)=MONTH(A4)),($B$4:b4)))
I am comfortable from 01-01-2020 to 31-12-2020.
On 01-01-2021 (with the start of fresh year), in A370 I typed 01-01-2021; in B370 I typed 14800 and
then copied formula in C 369 to C370.
Now Cell C370 shows 93100 (being month of January 2020 total expenses 78300 plus 01-01-2021 expenses 14800)
I request you to kindly advise me formula in Column C to start afresh monthwise totals for the year 2021