Day Question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
=LOOKUP(WEEKDAY(H12),{1,2,3,4,5,6,7},{"S","M","T","W","T","F","S"})

Vaya con Dios,
Chuck, CABGx3
 
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")))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top