Hello,
I would like to have an excel macro where it should validate whether the results falls under a week day or a week end.
Let me elaborate it for better understanding. I have date(mm/dd/yyyy) & time (hh:mm) AM/PM in colum A & colum B. I want the macro to validate if the date & time in A1 is >= Friday 6:30 PM and the date & time in B1 is <= Monday 5:00 PM then C1 should reflect as weekend else weekday.
Basically if the date/time period between A1 & B1 falls between Friday 6:30 PM to Monday 5:00 PM then C1 should reflect weekend else weekday. And this validation should continue for all the cells A2 & B2, A3 & C3 and so on till the end of the colum until the cells are filled with date and time.
Any help is greatly appreciated. Thank you in advance.
Regards
Bookmarks