I need to convert Google analytics date values to proper excel dates
the data is in the following format:
Friday, September 24, 2010
any easy way to do this?
edit: using office 2010
I need to convert Google analytics date values to proper excel dates
the data is in the following format:
Friday, September 24, 2010
any easy way to do this?
edit: using office 2010
Last edited by nsixsixsix; 10-15-2010 at 10:43 PM.
Based on UK locale - with the Date String in A1 you can use the below to generate the Date Value:
![]()
B1: =0+SUBSTITUTE(RIGHT(A1,8),",",REPLACE(LEFT(A1,LEN(A1)-8),1,FIND(",",A1),"")) format as Date
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Audere est facere
Yes I should have added an outer TRIM prior to coercion - thanks.
![]()
=0+TRIM(SUBSTITUTE(RIGHT(A1,8),",",REPLACE(LEFT(A1,LEN(A1)-8),1,FIND(",",A1),"")))
Last edited by DonkeyOte; 10-16-2010 at 08:33 AM. Reason: added the corrected version per dll's point
nsixsixsix,
You just signed up today. Why did you specify your Excel version as 2003 if you are indeed using 2010? The version info is there for a reason. Please edit your profile and provide relevant information.edit: using office 2010
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks