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

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
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,215,035
Messages
6,122,785
Members
449,095
Latest member
m_smith_solihull

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