Good day
Please can someone assist with a formula to convert a list of dates in this format "Fri Feb 23 2018 00:10:12 GMT+0100" to a usable Date and time that can be use in a excel pivot table
Good day
Please can someone assist with a formula to convert a list of dates in this format "Fri Feb 23 2018 00:10:12 GMT+0100" to a usable Date and time that can be use in a excel pivot table
Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.
Remember to desensitize the data.
Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
Can you give more sample data?
Attach a workbook with the sample data.
If you have the above data in A1
use below formula to convert it in to data
=(MID(MID(A1,5,20),5,2)&REPLACE(MID(A1,5,20),5,2,))+0
Samba
Say thanks to those who have helped you by clicking Add Reputation star.
Or try:
=--MID(REPLACE(A1,11,0,","),5,21)
That may even be a real date/time combo, cant say for sure without seeing some sample data
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
Many thanks for your replay
I have attached a section of the file Ima working with.
The date formula I am currently using is in row "J"
Would really appreciate if i could get the time to display correctly as well.
Many thanks
Did you try the suggestions given already?
You were almost there...
=DATEVALUE(MID(A2,9,2)& "-" & MID(A2,5,3) & "-" & MID(A2,12,4))+--MID(A2,17,8)
This will also work...
=--(MID(A2,9,2)& "-" & MID(A2,5,3) & "-" & MID(A2,12,4))+--MID(A2,17,8)
Thank you all. Problem solved. The format I was using did not show the "seconds"
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
Thanks for the feedback
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks