Help With Date Stored as text to Date

maximillianrg

Board Regular
Joined
Aug 7, 2014
Messages
75
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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
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,224,738
Messages
6,180,673
Members
452,993
Latest member
FDARYABEE

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