Weekends

J

JRD

Is there a function that can work out from a date (in format dd/mm/yy)
whether the date falls on a weekend day i.e. a saturday or sunday?

Thanks

John
 
J

Jacob Skaria

Try the function which returns TRUE if the date in A1 is a weekend..

=MOD(A1,7)<2

If this post helps click Yes
 
M

Mike H

Hi,

This returns TRUE for a weekday or FALSE for a weekend

=IF(ISERROR(VLOOKUP(WEEKDAY(A2),{2;3;4;5;6},1,0)),FALSE,TRUE)

Mike
 
D

Dave Peterson

That's not true if you're using the 1904 base date.

=WEEKDAY(A1,2)>5

Should work for either base date.
 
S

Shane Devenshire

Hi,

This may not be enough for your needs but change the cell format to
ddd - mm/dd/yy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top