+ Reply to Thread
Results 1 to 6 of 6

Checking and indicating data from one sheet to another

  1. #1
    Registered User
    Join Date
    09-03-2008
    Location
    london
    Posts
    12

    Checking and indicating data from one sheet to another

    Hi,

    sheet1 has a list of names
    sheet2 has a list of names and some of the names are the same as sheet1.

    What I want is for the names on sheet1 to indicate (preferably change text colour) if they are on sheet2.

    Thanks
    Last edited by dellf; 02-05-2009 at 06:24 AM.

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

    Re: Checking and indicating data from one sheet to another

    Select your list in Sheet 1 and go to Format|Conditional Formatting

    Select Formula Is from 1st dropdown and enter formula: =MATCH(A1,INDIRECT("Sheet2!A:A"),0)

    where A1 is the top most cell in your selection (change as necessary) and Sheet2!A:A contains the names to match up with.

    Click Format and choose colour scheme.
    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
    09-03-2008
    Location
    london
    Posts
    12

    Re: Checking and indicating data from one sheet to another

    Hi,

    Thanks for the reply, however the problem has gotten worse!?!
    Some of the names do as the conditional formatting rule should, whilst others don't.
    I can't understand why.

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

    Re: Checking and indicating data from one sheet to another

    Make sure the ones you think should match are indeed exact matches... ie. spelled the same, no extra spaces or other characters, etc... Also if you are matching numbers, they must both be number formats.

    If you can't figure it out, post an example workbook, showing the problem.

  5. #5
    Registered User
    Join Date
    09-03-2008
    Location
    london
    Posts
    12

    Re: Checking and indicating data from one sheet to another

    Thank you very much
    please see my example
    Attached Files Attached Files

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

    Re: Checking and indicating data from one sheet to another

    rather than me going back and forth to physically check inaccuracies, can you give a couple of examples of where things are not right?

    thanks

    Edit: Actually, I did just notice, that, as I had mentioned would be a possible problem, in your sheet1 there are many names at the bottom that do have an extra space at the end.. that is why you don't get matches... you should eliminate those spaces...

    but you can change the CF formula to this:

    =MATCH(TRIM(A1),INDIRECT("list!d2:d414"),0)

    to get matches as if the spaces were not there.

    reselect column A and invoke the CF dialogue.. replace the formula.
    Last edited by NBVC; 02-04-2009 at 12:42 PM.

+ 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