+ Reply to Thread
Results 1 to 6 of 6

Matching URLS from different columns

  1. #1
    Registered User
    Join Date
    11-08-2009
    Location
    Norwich, England
    MS-Off Ver
    Excel 2003
    Posts
    7

    Matching URLS from different columns

    Hi All

    I have a spreadsheet (see attached) of URLS in two seperate columns and am trying to

    Look for the URL's from column A and look for a match in Column I. If there is a match then I want to insert the average Position of that match from Column L into column F.

    Any takers. I have tried the normal LOOKUP and VLOOKUP but struggling to get this to work.

    I think it may have something to do with the numerous symbols within the url address.

    Kind Regards
    Glen
    Attached Files Attached Files

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Matching URLS from different columns

    glenws,

    In cell F2 and copied down, give this a try:
    =IF(ISNA(MATCH(A2,$I$2:$I$90,0)),"",VLOOKUP(A2,$I$2:$L$90,4,FALSE))
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Matching URLS from different columns

    =VLOOKUP(A2,I:L,4,0)

    worked for me, but there are alot of URLs that are not in both lists, they are returning #N/A so you can use this

    =IF(ISERROR(VLOOKUP(A2,I:L,4,0)),"NOT FOUND",VLOOKUP(A2,I:L,4,0))
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,422

    Re: Matching URLS from different columns

    You can put this formula in F2:

    =IFERROR(MATCH(A2,I:I,0)-ROW(),"")

    and copy down. It will give you a blank if there is no match, but with a match it will give the relative "standing" for each row, i.e. the movement of that row compared with the previous month's position - a negative number means that it has moved down. Is this what you meant?

    Hope this helps.

    Pete

    EDIT: Ah, I see that Average Position is one of the columns in your second table - I thought you were talking about the movement each month, rather like a league table. Disregard my offering.

    Pete
    Last edited by Pete_UK; 04-20-2012 at 11:10 AM.

  5. #5
    Registered User
    Join Date
    11-08-2009
    Location
    Norwich, England
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Matching URLS from different columns

    Thankd for the quick response. Both formulas work a treat.

    Tahnks again

  6. #6
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Matching URLS from different columns

    glad to help, could you please makr this thread as solved?

+ 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