Text Date to Date

dantheram

Board Regular
Joined
Aug 27, 2010
Messages
192
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I have cells with the following date format "3 Aug, 2017 10:00AM"

Is there a simple way to split out the date?

Dan
 

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)
This works fine, thanks.

Is there a way to rearrange for "Aug 3, 2017 10:00AM"
 
Upvote 0
Any way to solve for the american style?
You'll have to be more specific. Americans have many styles.

And please stop the bait and switch.
Solve A,
Solved
Now how about B
Solved
Also C
This is called bait and switch.

Please post ALL possible formats of your date up front, rather than one at a time.
 
Last edited:
Upvote 0
You'll have to be more specific. Americans have many styles.

And please stop the bait and switch.
Solve A,
Solved
Now how about B
Solved
Also C
This is called bait and switch.

Please post ALL possible formats of your date up front, rather than one at a time.

I accept your point but in my defence i didn't notice i had any US dates until i'd reached row 1000.

Apologies if this has upset you

PS the style is "Aug 3, 2017"

Dan
 
Last edited:
Upvote 0
I see, you're using UK dates.

This should handle either Aug 3, or 3 Aug

=IFERROR(LEFT(A1,12)+0,DATE(MID(A1,8,5),MONTH(LEFT(A1,3)&1),MID(A1,5,LEN(A1)-18)))
 
Upvote 0

Forum statistics

Threads
1,215,771
Messages
6,126,799
Members
449,337
Latest member
BBV123

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