larinda4
Board Regular
- Joined
- Nov 15, 2021
- Messages
- 74
- Office Version
- 365
- Platform
- Windows
I've been racking my brain trying to figure out a formula for this. I've included borders to help illustrate what I need.
I'm trying to sum column P based on the month in Q and subtract it from the debited amount in column S to get my monthly total in column T. I tried doing a SUMIF but as you'll see from the screenshot below, it won't calculate because there's a month for October and not November on the left and on the right, there's November and no October. Columns O and R are helper columns I created, but clearly it isn't working.
Generally there are more blank rows on the left hand side, but I figured this would make it easier. The start of the month on the left hand side will always be the same row on the right hand side. .
How can I sum this based on the month but also taking into account if the prior month is missing and adding it to the calculation?
I'm trying to sum column P based on the month in Q and subtract it from the debited amount in column S to get my monthly total in column T. I tried doing a SUMIF but as you'll see from the screenshot below, it won't calculate because there's a month for October and not November on the left and on the right, there's November and no October. Columns O and R are helper columns I created, but clearly it isn't working.
Generally there are more blank rows on the left hand side, but I figured this would make it easier. The start of the month on the left hand side will always be the same row on the right hand side. .
How can I sum this based on the month but also taking into account if the prior month is missing and adding it to the calculation?