List of items within a specific month

dmj120

Active Member
Joined
Jan 5, 2010
Messages
308
Office Version
  1. 365
  2. 2019
  3. 2010
I'm trying to get a dynamic list based on a selected month and year. Any ideas?

Annual Budget __ Sep-Aug (moving).xlsx
ABCDE
1Month Total150001mon
22025yr
3Pay DateAmount 
48/30/20245000 
59/13/20245000 
69/27/20245000 
710/11/20245000 
810/25/20245000 
911/8/20245000 
1011/22/20245000 
1112/6/20245000 
1212/20/20245000 
131/3/20255000 
141/17/20255000 
151/31/20255000 
162/14/20255000 
172/28/20255000 
183/14/20255000 
193/28/20255000 
204/11/20255000 
214/25/20255000 
225/9/20255000 
235/23/20255000 
246/6/20255000 
256/20/20255000 
267/4/20255000 
277/18/20255000 
288/1/20255000 
298/15/20255000 
308/29/20255000 
319/12/20255000 
32
Sheet3
Cell Formulas
RangeFormula
C1C1=SUMIFS(C3:C31, B3:B31, ">=" & DATE(D2, D1, 1), B3:B31, "<=" & EOMONTH(DATE(D2, D1, 1), 0))
B5:B31B5=B4+14
E3:E31E3=IFERROR(INDEX($B$3:$B$31, SMALL(IF((MONTH($B$3:$B$31)=$D$1)*(YEAR($B$3:$B$31)=$D$2), ROW($B$3:$B$31)-ROW($B$3)+1), ROW(3:3))), "")
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Tried Filter() but I must not be doing something correctly

FILTER(B4:B31, (B4:B31=MONTH(D1))*(B4:B31=YEAR(D2)))
 
Upvote 0
How about
Excel Formula:
=FILTER(B4:B31,(B4:B31>=DATE(D2,D1,1))*(B4:B31<DATE(D2,D1+1,1)))
 
Upvote 1
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,912
Messages
6,175,344
Members
452,638
Latest member
Oluwabukunmi

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