Convert Report number to Date and Time

UKNOWINVU2

New Member
Joined
Jun 26, 2014
Messages
32
I am trying to convert this report number to a date and time, is there a single formula that can achieve this or do I need extract the numbers using left/right formula?

W3_20190903_230338 = Sept.3,2019, 11:03:38 pm
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
How about, with your value in A7
=DATE(MID(A7,4,4),MID(A7,8,2),MID(A7,10,2))+TIME(MID(A7,13,2),MID(A7,15,2),MID(A7,17,2))
 
Upvote 0
That is amazing, thank you! Now I will try and figure out how to format cell to read "Sept.3,2019, 11:03:38 pm".
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,169
Members
453,021
Latest member
Justyna P

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