Convert Excel Date to Text in another cell

duaneo1

New Member
Joined
Sep 19, 2002
Messages
1
This is probably a simple request.
We want to enter a date in cell A1. We happen to be using the format of "September 20, 2002". In cell A2, we want the MONTH and YEAR of the date in A1 to be displayed, in the format of: "SEPTEMBER 2002".

We appreciate any help. (first-time post)
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

IML

MrExcel MVP
Joined
Feb 15, 2002
Messages
1,743
Please put this formula in any blank cell on your sheet, and post back the result.

=isnumber(a1)
 

Mark W.

MrExcel MVP
Joined
Feb 10, 2002
Messages
11,654
=UPPER(TEXT(A1,"mmmm yyyy"))
This message was edited by Mark W. on 2002-09-20 14:59
 

IML

MrExcel MVP
Joined
Feb 15, 2002
Messages
1,743
If the answer to the formula above is true, use Mark's formula. If false,
either
=LEFT(A1,FIND(" ",A1))&RIGHT(A1,4)
or
=TRIM(REPLACE(A1,FIND(" ",A1),4," "))

should work.

good luck
 

Mark W.

MrExcel MVP
Joined
Feb 10, 2002
Messages
11,654

ADVERTISEMENT

IML, my formula works regardless of the data type... thank's to good ol' coercion. :)
This message was edited by Mark W. on 2002-09-20 15:08
 

IML

MrExcel MVP
Joined
Feb 15, 2002
Messages
1,743
As always, good to know.

Note to self: try first, suggest second.
 

mattyb1970

New Member
Joined
Sep 21, 2002
Messages
1
Thanks guys, I have been on this site for less than a hour and solved one of my problems.

Cheers
Matt
 

Forum statistics

Threads
1,144,441
Messages
5,724,378
Members
422,547
Latest member
Vision1291

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top