Hi Guys,
Just a quick one - I can't get the below to work when F2 is 6th May 2017 (Saturday)
=IF(WEEKDAY(ROUND(F$2,2),2)=OR(6,7),"OK","ERROR")
Thanks in advance!
Hi Guys,
Just a quick one - I can't get the below to work when F2 is 6th May 2017 (Saturday)
=IF(WEEKDAY(ROUND(F$2,2),2)=OR(6,7),"OK","ERROR")
Thanks in advance!
=if(or(weekday(round(f$2,2),2)=6,weekday(round(f$2,2),2)=7),"ok","error")
try
=IF(OR(WEEKDAY(ROUND(F$2,2),2)=6,WEEKDAY(ROUND(F$2,2),2)=7),"OK","ERROR")
If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
Try this ...
=IF(WEEKDAY(ROUND(F$2,2),2)>5,"OK","ERROR")
Thanks all - I guess I was using OR() incorrectly?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks