+ Reply to Thread
Results 1 to 4 of 4

Lining up URL's with SKU's -

  1. #1
    Registered User
    Join Date
    07-10-2012
    Location
    Denver
    MS-Off Ver
    Excel 2010
    Posts
    5

    Lining up URL's with SKU's -

    So I have some ecommerce analytics data... A-F columns - that I want to line up landing page w/ units sold...

    Column A - is parts of a URL and looks like ----- /example1/SKU###/example2.aspx

    I need to pair up with column C where the data looks like ----- SKU###

    50k+lines - I need something that will line up A w/ C and bring all the other data with it... I'm at a total loss

    Thanks in advance

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Lining up URL's with SKU's -

    Suggest that you do a 'Text to Columns' (data ribbon) to extract the SKU from the URL and then use VLOOKUP to pull across the data. If this doesn't make sense, please provide an example workbook.
    Martin

  3. #3
    Registered User
    Join Date
    07-10-2012
    Location
    Denver
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Lining up URL's with SKU's -

    Example Attached
    Attached Files Attached Files

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Lining up URL's with SKU's -

    Hello Davethe,

    The macro below has been added to the attached workbook. The matched results are output to "Sheet2" with row 1 for the column headers. The output sheet is automatically cleared each time the macro is run. There is a button at the top of "Sheet2" to run the macro.

    The macro assumes the data in original workbook is laid out the same as the sample file. Also the SKU is always taken before the page (.aspx or other valid identifier). If you have any problems or questions, let know.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ 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