Need Help With Formula For Rent Ledger
I have a rent ledger sheet that lists all the rent due dates and amounts, both past and future as shown below. Each month there are two payments due, Column B on the 1st, and Column C on the 15th. At the bottom I have a running total of accumulated rent due from the beginning through what is then due, but I have to manually update it according to the current date because otherwise it would total the future amounts as well that are not due yet.
What I need is a formula that would automatically add up these two columns, but based on the then current date. So for example, if it was August 21, it would add up all the rent due in both columns through August 2023, but if it was earlier on August 14 (because the second column amount was not yet due) it would add up all rent from both columns through July, but only the first column in August.
Essentially, it would use the current date to determine what the total rent due was from the beginning of the sheet through the appropriate column.
I hope this is clear and that there's a formula I can use to have this done automatically. Thanks!
iMac 21.5″ 4K, macOS 13.4