IF and Date
Try
=IF(TEXT(A1,"ddd")="Sun","Sunday","Not a Sunday")
OR
=IF(WEEKDAY(A1)=1,"Sunday","")
If this post helps click Yes
---------------
Jacob Skaria
"das" wrote:
Hey crew, I'm a little rusty and need some refresher...
In column A I have the dates in =Date(yyyy,mm,dd) format
In column B, I am want the cells to say "OFF" if the day is equal to
Sunday or Monday for instance.
Right now I'm using this formula for Sunday:
=IF(DAY(7)=A4,"OFF","")
Which isn't working. I just can't remember the exact way to do it.
Thanks for your help.
|