For example,
A1= mon
B1= 6.30am
Mon to fri 6am to 9.30am &
Mon to sun & public holiday 6pm to 12pm, the if function will return a value of 1 when input cell A1 & B1 fall within this range.
The rest which is out of these 2 range, the function will return a value of 0,
can I squeeze all these into 1 function with the bold text being my logical test?
but first, im having problem with the date text in for IF function before solving the time...
=IF(A1=TEXT(Monday,ddd),1,0) this doesn't work??
Bookmarks