+ Reply to Thread
Results 1 to 6 of 6

convert Google Analytics date format to excel

  1. #1
    Registered User
    Join Date
    10-15-2010
    Location
    uk
    MS-Off Ver
    Excel 2003
    Posts
    1

    convert Google Analytics date format to excel

    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.

  2. #2
    Forum Contributor
    Join Date
    11-24-2008
    Location
    Delhi
    Posts
    104

    Re: convert Google Analytics date format to excel

    Quote Originally Posted by nsixsixsix View Post
    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
    =TEXT(A1,"DDDD,MMMM dd,yyyy")

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: convert Google Analytics date format to excel

    Based on UK locale - with the Date String in A1 you can use the below to generate the Date Value:

    Please Login or Register  to view this content.

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: convert Google Analytics date format to excel

    nsixsixsix,

    edit: using office 2010
    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.

  5. #5
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: convert Google Analytics date format to excel

    Quote Originally Posted by DonkeyOte View Post
    =0+SUBSTITUTE(RIGHT(A1,8),",",REPLACE(LEFT(A1,LEN(A1)-8),1,FIND(",",A1),""))
    Hello DonkeyOte, not sure that would always work, depends whether single digit days are shown with leading zeroes or not. It would fail on a date like

    Saturday, October 9, 2010

    My suggestion would be

    =TRIM(SUBSTITUTE(RIGHT(A1,8),",",MID(A1,FIND(",",A1)+1,4)))+0
    Audere est facere

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: convert Google Analytics date format to excel

    Yes I should have added an outer TRIM prior to coercion - thanks.

    Please Login or Register  to view this content.
    Last edited by DonkeyOte; 10-16-2010 at 08:33 AM. Reason: added the corrected version per dll's point

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1