Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / January 2004

Tip: Looking for answers? Try searching our database.

Day and Month Names

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RG - 21 Jan 2004 10:36 GMT
I know I can use month(ref) to get the month number, but is there a function to return the month name? i.e. function(2) = February?
I know I can format the cell as "mmmm" to just display the month on its own, but I need to incorporate it into a string on other text.
Bob Phillips - 21 Jan 2004 10:56 GMT
RG,

Yes, it's the ubiquitous TEXT function

=TEXT(A1,"mmmm") gives February
=TEXT(A1,"mmm") fives Feb

Signature

HTH

Bob Phillips
   ... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

> I know I can use month(ref) to get the month number, but is there a function to return the month name? i.e. function(2) = February?
> I know I can format the cell as "mmmm" to just display the month on its own, but I need to incorporate it into a string on other text.
Paul - 21 Jan 2004 11:00 GMT
> I know I can use month(ref) to get the month number, but is there a function to return the month name? i.e. function(2) = February?
> I know I can format the cell as "mmmm" to just display the month on its own, but I need to incorporate it into a string on other text.

If you are starting with a date (say in A1), you can use the TEXT function.

For example,
=TEXT(A1,"mmmm")
will give the full name of the month (such as "January").

=TEXT(A1,"ddd")
will give the abbreviated weekday (such as "Wed").
Arvi Laanemets - 21 Jan 2004 11:03 GMT
Hi

=TEXT(YourDate,"mmmm")
where YourDate is reference to date value, or some function returning date.

Signature

(When sending e-mail, use address arvil@tarkon.ee)
Arvi Laanemets

> I know I can use month(ref) to get the month number, but is there a function to return the month name? i.e. function(2) = February?
> I know I can format the cell as "mmmm" to just display the month on its own, but I need to incorporate it into a string on other text.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.