+ Reply to Thread
Results 1 to 3 of 3

URL Comparison & Marking

  1. #1
    Registered User
    Join Date
    07-06-2011
    Location
    Pune,India
    MS-Off Ver
    Excel 2007
    Posts
    2

    URL Comparison & Marking

    Please help me out with this. I want to do this in Excel.

    Actually I want to compare different URLs which will be present in two different columns in an excel sheet.
    If the URL(domain name) is same in that particular cell(in both the column) should get highlighted with some color.

    As shown in 1st picture column C and column D contains different URLs. The form of URL in column ‘C’ will always be like i.e. http://bikeadvice.in/ or http://www.bikeadvice.in/
    But in column ‘D’ it may not be exact domain name, but may be some inner pages of that domain like
    http://bikeadvice.in/bikers-guide/ or some totally different domain

    I want to compare these 2 columns and highlight the cell which are having entries of same domain name.
    Please refer to picture 2.


    Please tell how I can do this by using formula/macro or something else in Excel.
    Attached Images Attached Images
    Last edited by p225588; 07-06-2011 at 01:35 PM.

  2. #2
    Registered User
    Join Date
    07-06-2011
    Location
    Pune,India
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: URL Comparison & Marking

    Please tell if the above is possible in excel or not and if yes then what are the steps???

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: URL Comparison & Marking

    Next time please post actual workbook so we can test without having to recreate....

    Select C2:C16 and go to Home|Condititional Format|New Rule

    Select Use a formula to determine which cells to format from top

    and enter formula:

    =SEARCH($D$3:$D$12,C2)

    click format and choose from Fill tab.

    Click Ok. Click Ok to exit and apply.

    Select now D3:D12 and repeat above with formula:

    =SEARCH($C$2:$C$16,D3)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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