A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Return Month & Year of Date Value



 
 
Thread Tools Display Modes
  #1  
Old November 17th, 2008, 04:34 PM posted to microsoft.public.excel.misc
WildWill
external usenet poster
 
Posts: 62
Default Return Month & Year of Date Value

Hi

In cell A1, I have a date value formatted as "12 January 2008", in cell B1 I
want to display the Month & Year part of the date in A!, e.g. "Janunary
2008". What formula can i use to achieve this? Thanks!
  #2  
Old November 17th, 2008, 04:43 PM posted to microsoft.public.excel.misc
Peo Sjoblom[_2_]
external usenet poster
 
Posts: 963
Default Return Month & Year of Date Value

=TEXT(A1,"mmmm yyyy")

or just link to A1

=A1

and use custom format mmmm yyyy

This assumes that the date in A1 is read as an excel date,
that the underlying value if you format it as general is 39459

--


Regards,


Peo Sjoblom

"WildWill" wrote in message
...
Hi

In cell A1, I have a date value formatted as "12 January 2008", in cell B1
I
want to display the Month & Year part of the date in A!, e.g. "Janunary
2008". What formula can i use to achieve this? Thanks!



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:18 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.