+ Reply to Thread
Results 1 to 6 of 6

Formula with conditional formatting

  1. #1
    Registered User
    Join Date
    01-03-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    20

    Question Formula with conditional formatting

    Hi guys,

    Need some help please, I have SHEET1, say Column A, a list of 500 names of people

    In SHEET2, I have in Column A, a list of 20 people.

    I need a conditional formula where it highlights the names of people in SHEET1 that appear in SHEET2

    I've gone brain dead today, despite using VLOOKUPs, MATCH, and INDEX formulas previously, without an issue

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Formula with conditional formatting

    You would need Conditiona Formatting for this, but CF does not work across sheets in 2007

    A way around this would be to reference teh data from sheet2 onto sheet1, then use that data for the CF

    Give it a shot, If you still have a problem, upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    01-03-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Formula with conditional formatting

    im on office 2010 =)

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Formula with conditional formatting

    OK, then please update your profile accordingly

    1. highlight the range you want to apply the conditional formatting to
    2. on the home tab, styles, select CF
    3. select new rule, select use formula
    4. enter =MATCH(A1,Sheet2!$A$1:$A$3,0)

    Adjust your ranges as needed

  5. #5
    Registered User
    Join Date
    01-03-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Formula with conditional formatting

    Thanks!

    That worked...

    I was sooo close, i had:

    MATCH($A:$A,Sheet2!$A$1:$A$3,0)

    I didn't know that conditional formatting automatically scans the next row down, hence why I discounted using A1

    BTW what is the different between using:

    $A$1 and
    $A1

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Formula with conditional formatting

    $ is used to absolute a cell reference, locking it so that when change when copied down or across. it comes in 3 different "flavors...

    $A$1 absolutes the entire cell reference, it will not chance when copied down or across
    $A1 absolutes only the column, "A" will not change when copied across, but "1" WILL change when copied down
    A$1 absolutes only the row, "1" will not change when copied down, but "A" will change when copied across

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Formatting Cells with Date or Text Values in a Conditional Formatting Formula
    By Phil Hageman in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-15-2014, 09:36 AM
  2. If Formula - conditional formatting - three different formatting rules
    By sharper1989 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-25-2014, 04:49 PM
  3. Replies: 3
    Last Post: 11-28-2013, 02:11 AM
  4. Replies: 1
    Last Post: 07-19-2012, 05:37 AM
  5. Replies: 6
    Last Post: 03-12-2006, 06:30 PM

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