+ Reply to Thread
Results 1 to 6 of 6

Conditional Rule to highlight

  1. #1
    Forum Contributor
    Join Date
    09-25-2012
    Location
    Ventura, united States
    MS-Off Ver
    Excel 2010
    Posts
    346

    Conditional Rule to highlight

    Does anyone know how to set a rule using conditional formatting to highlight a cell. I want to use this logic.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,775

    Re: Conditional Rule to highlight

    if you put

    = A1 <> B1

    and apply to A1 or range in column A

  3. #3
    Registered User
    Join Date
    01-16-2012
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Conditional Rule to highlight

    Select your A:A range, go to the conditional formatting button and select more rules from 'Highlight Cells Rules'. Select 'not equal to' in the second drop down box and enter a relative B1 (not $B$1) in the formula box. Set your formatting and you are done.

  4. #4
    Forum Contributor
    Join Date
    09-25-2012
    Location
    Ventura, united States
    MS-Off Ver
    Excel 2010
    Posts
    346

    Re: Conditional Rule to highlight

    Thanks Matt. I think I'm close, but it highlighted the whole column regardless of whether the cell to the right was the same. Are you sure I should enter B1?

  5. #5
    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: Conditional Rule to highlight

    1. highlight the range you want to apply the conditional formatting to (all the cells you need to apply it to in A)
    2. on the home tab, styles, select CF
    3. select new rule, select use formula
    4. enter =A1<>B1 format fill red this assumes that your 1st piece of data is in A1 and B1 - adjust as needed

    @ matt - you need to try and avoid using entire columns in CF, it becomes very resource-intense and will slow things down, rather, restrict it to the minimum range needed
    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

  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: Conditional Rule to highlight

    Happy to help and thanks for the feedback

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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