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

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Please put this formula in any blank cell on your sheet, and post back the result.

=isnumber(a1)
 
Upvote 0
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
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
1,214,575
Messages
6,120,342
Members
448,956
Latest member
Adamsxl

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
Back
Top