Filter for Entire Month of 2024

daveyc18

Well-known Member
Joined
Feb 11, 2013
Messages
746
Office Version
  1. 365
  2. 2010
So I have a bunch of dates in September 2024 in column A; is there a way to filter only September THIS YEAR and ignore the other months
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
=FILTER(A2:A76,MONTH(A2:A76)=9*(YEAR(A2:A76)=2024))

This formula assumes 75 rows of date in Column A and filters for September and year 2024
 
Upvote 0
=FILTER(A2:A76,MONTH(A2:A76)=9*(YEAR(A2:A76)=2024))

This formula assumes 75 rows of date in Column A and filters for September and year 2024

would you know how to do this via VBA? eg advanced filter, as I want to open the file, filter for sept 2024 only
 
Upvote 0
Need to be patient and wait for a VBA expert. Not my forte. For the future, you should specify your specific needs (ie. VBA) in your initial post or the title. Crystal Balls are in short supply these days.
 
Upvote 0
So I have a bunch of dates in September 2024 in column A
Sounds like there are only already dates of the month September of the year 2024. How can you filter out months, or years, that aren't there? And which are you trying to filter? Months or Years, or Days of a Month? Do you mean that you have a bunch of general dates, and you want to filter September 2024 out of all of the other possible months of any other year?
 
Upvote 0

Forum statistics

Threads
1,223,604
Messages
6,173,320
Members
452,510
Latest member
RCan29

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