P
PeteB
I'm trying to set up a spreadsheet which when I input a date in one column (B), it will automatically fill in the day of the week in the next (C).
I've used the formula:
=IF(WEEKDAY(B9)=1,"Sun",IF(WEEKDAY(B9)=2,"Mon",IF(WEEKDAY(B9)=3,"Tues",IF(WEEKDAY(B9)=4,"Wed",IF(WEEKDAY(B9)=5,"Thurs",IF(WEEKDAY(B9)=6,"Fri",IF(WEEKDAY(B9)=7,"Sat","")))))))
This works ok when CELL B9 is filled with a date but when B9 is empty it returns 'Sat'.
How can I adjust this so that C9 would remain blank if B9 is blank.
Any help would be appreciated because this is starting to drive me up the wall.
I've used the formula:
=IF(WEEKDAY(B9)=1,"Sun",IF(WEEKDAY(B9)=2,"Mon",IF(WEEKDAY(B9)=3,"Tues",IF(WEEKDAY(B9)=4,"Wed",IF(WEEKDAY(B9)=5,"Thurs",IF(WEEKDAY(B9)=6,"Fri",IF(WEEKDAY(B9)=7,"Sat","")))))))
This works ok when CELL B9 is filled with a date but when B9 is empty it returns 'Sat'.
How can I adjust this so that C9 would remain blank if B9 is blank.
Any help would be appreciated because this is starting to drive me up the wall.