Displaying (or not) Weekday

  • Thread starter Thread starter Alice M.
  • Start date Start date
A

Alice M.

Col A contains a date that I enter.
Col B contains the formula =TEXT(WEEKDAY(A1), "DDD") which, when I enter a
date in Col A, returns the day of the week.

The entire Col B is formatted with the weekday formula. If Col A contains no
date, then Col B returns the weekday "Sat" all the way down the sheet. (Why
"Sat" I don't know.)

My question is: How can I hide the display in Col B until I populate Col A
with a date?
 
hi
=if(A1="","",Text(A1,DDD))
you can use this technique whenever you are getting data that you don't want
but know that your formula is right such as the #DEV/0! error and others.

Regards
FSt1
 
Try

=IF(A1="","",TEXT(WEEKDAY(A1), "DDD") )

Your formula returns Sat because XL believes that day zero was a Saturday.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(e-mail address removed)
Replace @mailinator.com with @tiscali.co.uk
 
Back
Top