Need help filtering a date column

J

Joe Miller

I have unsucessfully tried to filter weekend dates out of a date column.
I know how to use the WEEKDAY function to identify Saturdays and Sundays
but have not yet figured out how to apply it using the 'Filter'
facility. Help will be much appreciated.
 
R

Ron de Bruin

Hi Joe

You can use AdvancedFilter with a formula

For Example you dates start in A5 (A4 is the header cell)

Copy this formula in A2 and leave A1 empty
=OR(WEEKDAY(A5,2)={6,7})

Use A1:A2 as your criteria now
 
Top