Day Question

R

Robbyn

Hi all,

I use =TEXT(H12,"dddd") to calculate the day of week for a date. Is there
any way I can have the first letter of the day show, instead of the whole
word?

Monday becomes M; Tuesday becomes T, etc.
 
C

CLR

=LOOKUP(WEEKDAY(H12),{1,2,3,4,5,6,7},{"S","M","T","W","T","F","S"})

Vaya con Dios,
Chuck, CABGx3
 
R

Robbyn

Thanks much all! I went with the simplist formula: =LEFT(TEXT(H$12,"ddd"))
One more quick question. If H$12 is blank, how do I make sure the cell with
the formula remains blank? This didn't work:
=IF(LEFT(TEXT(L$12,"ddd"))="","",LEFT(TEXT(L$12,"ddd")))
 
Top