ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Excel Date (https://www.excelbanter.com/excel-discussion-misc-queries/215459-excel-date.html)

[email protected]

Excel Date
 
Realize date stored in cell not as mm/dd/yy format, but how can i get any of
the three from the date Ie; concatenate month(name or number) to a phrase??
--
LDStrayer

Mike H

Excel Date
 
Hi,

Is this what you mean

=TEXT(MONTH(A1),"MMMM")

Mike

" wrote:

Realize date stored in cell not as mm/dd/yy format, but how can i get any of
the three from the date Ie; concatenate month(name or number) to a phrase??
--
LDStrayer


JBeaucaire[_58_]

Excel Date
 

=year(a1)
=month(a1)
=day(a1)

You can wrap that into a TEXT formula and format the result, too.

=TEXT(DAY(A1),"DDDD") results in "Sunday"


--
JBeaucaire
------------------------------------------------------------------------
JBeaucaire's Profile: http://www.thecodecage.com/forumz/member.php?userid=73
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=46960


AnotherNewGuy

Excel Date
 
You'd need to use Weekday() instead of Day() as in =TEXT(WEEKDAY(A1),"DDDD")


=TEXT(DAY(A1),"DDDD") results in "Sunday"


--
JBeaucaire
------------------------------------------------------------------------
JBeaucaire's Profile: http://www.thecodecage.com/forumz/member.php?userid=73
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=46960



David Biddulph[_2_]

Excel Date
 
Why not just =TEXT(A1,"DDDD") instead of =TEXT(WEEKDAY(A1),"DDDD") ?
--
David Biddulph

"AnotherNewGuy" wrote in message
...
You'd need to use Weekday() instead of Day() as in
=TEXT(WEEKDAY(A1),"DDDD")


=TEXT(DAY(A1),"DDDD") results in "Sunday"
--
JBeaucaire




AnotherNewGuy

Excel Date
 
'cause it didn't occur to me? ;o)

I was just pointing out that the DAY() function won't give the desired
results.

"David Biddulph" wrote:

Why not just =TEXT(A1,"DDDD") instead of =TEXT(WEEKDAY(A1),"DDDD") ?
--
David Biddulph

"AnotherNewGuy" wrote in message
...
You'd need to use Weekday() instead of Day() as in
=TEXT(WEEKDAY(A1),"DDDD")


=TEXT(DAY(A1),"DDDD") results in "Sunday"
--
JBeaucaire






All times are GMT +1. The time now is 11:02 PM.

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