Populate Monthly Expenses Based on Date Range

alansbanans

New Member
Joined
Sep 23, 2024
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hi all. I've tried to find something similar to this but can't quite solve it.

I'm building a budget and would like to input a date range (pay date to next pay date) and have monthly expenses populate if the due date is within that date range.

On Sheet1 I have a set of values with the day of the amount that expense is due:

E F G
1ExpenseDateAmount
2Rent11500

On Sheet2 is the budget for that pay period with a defined pay period.
AB
2Pay Period StartPay Period End
31225

Then on the same sheet I have something like this:

GF
2Rent

I would like to populate Sheet2 cell F2 with the rent amount from Sheet1 IF the due date falls within the 12th and 25th.

Thanks in advance!
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Like this perhaps, assuming you don't only want rent figures.

Book1
DEFGH
1ExpenseDateAmount
2Rent11500
3Rent 215300
4Water11100
5Power20200
6Internet1360
7
Sheet1


Book1
ABCDEFGHI
1
2StartEndRent 215300
31225Power20200
4Internet1360
5
6
Sheet2
Cell Formulas
RangeFormula
F2:H4F2=FILTER(Sheet1!E2:G6,(Sheet1!F2:F6>=A$3)*(Sheet1!F2:F6<=B$3))
Dynamic array formulas.
 
Upvote 0
That's awesome, thank you so much! I was not trying the filter but that's perfect.
 
Upvote 0

Forum statistics

Threads
1,224,755
Messages
6,180,758
Members
452,996
Latest member
nelsonsix66

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top