MACRO to filter based on DATE from a Column containing both time and date.

arham_1987

New Member
Joined
Jan 15, 2013
Messages
5
Hi Guys,

What I'm looking for is to have a macro which would do two things :-


1) A macro which looks at one column which contains date and time in "dd/mm/yyyy HH:MM:SS" , and irrespective of time, filters for the record corresponding to the start date and end date.

2)Since the source sheet is constantly changing,it should refresh the validation list to have only unique dates so that the user shouldnt have to go through a long list to select the start and end dates.


Any help is greatly appreciated :)

Regards,
Arham
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
1) A macro which looks at one column which contains date and time in "dd/mm/yyyy HH:MM:SS" , and irrespective of time, filters for the record corresponding to the start date and end date.

Do you mean that you want to specify the start date and end date as the filter criteria? I.e. that you're searching for entries that fall between two dates? How are you selecting / defining those dates?

2)Since the source sheet is constantly changing,it should refresh the validation list to have only unique dates so that the user shouldnt have to go through a long list to select the start and end dates.

Best regards
Richard
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,906
Members
452,366
Latest member
TePunaBloke

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