ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Day Question (https://www.excelbanter.com/excel-worksheet-functions/37966-day-question.html)

Robbyn

Day Question
 
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.

Roger Govier

=LEFT(TEXT(H12,"ddd"))

--
Regards

Roger Govier


"Robbyn" wrote in message
...
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.




Gary's Student

=left(TEXT(H12,"DDDD"),1)
--
Gary's Student


"Robbyn" wrote:

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.


Domenic

Try...

=LEFT(TEXT(H12,"ddd"))

Hope this helps!

In article ,
Robbyn wrote:

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.


CLR

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

Vaya con Dios,
Chuck, CABGx3




"Robbyn" wrote in message
...
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.




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,"d dd")))



"Robbyn" wrote:

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.


Gary's Student

if(H12="","",LEFT(TEXT(H$12,"ddd")))
--
Gary's Student


"Robbyn" wrote:

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,"d dd")))



"Robbyn" wrote:

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.


Robbyn

Thanks!

"Gary's Student" wrote:

if(H12="","",LEFT(TEXT(H$12,"ddd")))
--
Gary's Student


"Robbyn" wrote:

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,"d dd")))



"Robbyn" wrote:

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.


Domenic

Try...

=IF(N(L$12),LEFT(TEXT(L$12,"ddd")),"")

Hope this helps!

In article ,
Robbyn wrote:

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,"d dd")))



"Robbyn" wrote:

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.


Ragdyer

No confusion between Saturday and Sunday and Tuesday and Thursday?
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Robbyn" wrote in message
...
Thanks!

"Gary's Student" wrote:

if(H12="","",LEFT(TEXT(H$12,"ddd")))
--
Gary's Student


"Robbyn" wrote:

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,"d dd")))



"Robbyn" wrote:

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.




All times are GMT +1. The time now is 05:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com