ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Return Month & Year of Date Value (https://www.excelbanter.com/excel-discussion-misc-queries/210566-return-month-year-date-value.html)

WildWill

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!

Peo Sjoblom[_2_]

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!





All times are GMT +1. The time now is 04:59 AM.

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