+ Reply to Thread
Results 1 to 5 of 5

Duplicate entries across 2 worksheets

  1. #1
    Registered User
    Join Date
    06-22-2007
    Posts
    42

    Duplicate entries across 2 worksheets

    Hi

    I have searched for the answer to this before I posted but can't find anything that helps.

    I have 2 sheets of data.

    Sheet1 has a reference in column D
    Sheet2 has a reference in column D

    I need on a third worksheet to show whether the reference in Sheet2 appears on Sheet1. If it does, I need the sheet2 one to be highlighted

    I can't do a sort, I can't use macros and I can't use filters

    Someone please help - been going round in circles for days

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    To highlight items in Sheet2 that don't appear in Sheet1.....

    1. Select the range of items in Sheet1 and name that range through Insert|Name|Define.... call it something like MyList

    2. In Sheet2 select the range to highlight and go to Format|Conditional Formatting and select Formula Is from 1st drop down menu....

    3. Enter formula: =And(A1<>"",Isna(Match(A1,MyList,0))) where A1 is the top cell you selected.

    4. Click Format and choose colour from Pattern tab...

    5. Click Ok and click Ok again to Finish.
    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.

  3. #3
    Registered User
    Join Date
    06-22-2007
    Posts
    42
    Can I do that in the 3rd worksheet though and have the formatting in the 2nd? Can't touch the two original spreadsheets with formula or any extra columsn as it's imported into a database

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    You mean you can't name the range in Sheet1? That's the only thing I suggested... there are no formulas or columns added in either sheet....

    You can copy the 1st sheet to the 3rd and name the range in that sheet instead...same result.

  5. #5
    Registered User
    Join Date
    06-22-2007
    Posts
    42
    Thanks so much for your help. Sorry I misunderstood what you were saying. Read your post again, tried it and it works perfectly without maing any difference to the import into the database. I'm happy, customer is happy, everyone's happy Thanks again

+ 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