Text string to a date conversion

Mark McInerney

Active Member
Joined
Apr 4, 2012
Messages
281
Office Version
  1. 365
Platform
  1. Windows
Hi Folks - Thanks in advance for checking this out.

I have a text string (see below) - is there a quick way to format this as DD/MM/YYYY?


Sunday, September 08, 2024
 
Hi Fluff - Hope all well with you - I'm still getting a #VALUE! error back?

1728309265868.png
 
Upvote 0

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
@Joe4 - I was just curious as to whether this errored out with a US Setting:
Excel Formula:
=DATEVALUE("08 September 2024")
OK, gotcha! Yeah, I know, it is hard for you to test US settings and hard for me to test UK/European settings (without messing with too much).

But to answer your question, yes, that does seem to return the correct and valid date on my system!
 
Upvote 0
@Mark McInerney - What is your regional date setting ?
mm/dd/yyyy or dd/mm/yyyy
Based on Joe's response it shouldn't matter but it would still be good to know.
Maybe you can confirm that putting the below in a cell works for you:
Excel Formula:
DATEVALUE("08 September 2024")
 
Last edited:
Upvote 0
@Joe4 - sorry just edited my response to make it clear I was asking the OP, and also acknowledging that based on your response it shouldn't make a difference.
 
Upvote 0
I am logging off for the night. Can you please post your picture as an XL2BB ?
If you can't do that please copy the Text you have in B2 into a post and also the formula you have in C2.
That hopefully will allow Fluff or Joe to resolve the issue.
 
Upvote 0
I am logging off for the night. Can you please post your picture as an XL2BB ?
If you can't do that please copy the Text you have in B2 into a post and also the formula you have in C2.
That hopefully will allow Fluff or Joe to resolve the issue.
Hi Alex,

Will do - Thanks for having a look at this - really appreciated. (How do I post an XL2BB? - Sorry)
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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