Help With Date Stored as text to Date

maximillianrg

Board Regular
Joined
Aug 7, 2014
Messages
74
Office Version
  1. 2016
Platform
  1. Windows
Hello Excel Masters

I'm looking for a formula to convert the below text in cell A1 into the date Mar 20

A1 = March 20, 2023 at 10:21AM

The formula needs to work for any month and day, for example in 6 months the formula would convert September 21, 2023 at 11:21AM

Thank you in advance
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Try this formula:
Excel Formula:
=TEXT(DATEVALUE(LEFT(A1,FIND(" at",A1)-1)),"mmm dd")
that will return a TEXT value.

If you want a valid date value you can do computations on, use this instead:
Excel Formula:
=DATEVALUE(LEFT(A1,FIND(" at",A1)-1))
and then just format the cell with a Custom Date Format of "mmm dd".
 
Upvote 0

Forum statistics

Threads
1,215,009
Messages
6,122,674
Members
449,091
Latest member
peppernaut

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