+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting getting applied incorrectly

  1. #1
    Registered User
    Join Date
    12-12-2014
    Location
    India
    MS-Off Ver
    2019
    Posts
    21

    Conditional Formatting getting applied incorrectly

    Conditional Formatting.JPG

    In the attached workbook, I have applied the following conditional formatting rule to column F.

    if $E:$E<>$F:$F format cell values Red

    However, the entire column F is formatted Red even if the values in column E are equal to values in column F.

    Request if someone could help resolve the issue.

    Regards
    Attached Files Attached Files
    Last edited by hiwire03; 12-01-2020 at 08:52 PM.

  2. #2
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: Conditional Formatting getting applied incorrectly

    Edit the formula to =E1<>F1 and that should fix it for you.

    When you select the whole column the active cell is E1 therefore you should cretae a formula which relates to E1, $$ are omitted to ensure that the formula changes to E2 E3 E4 so on within the range to check.



    EDIT

    Use =AND(E1<>F1,F1<>"Check") to stop the heading from changing to red fill.
    Last edited by Harribone; 12-01-2020 at 11:13 AM.
    Say thanks, click *

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Conditional Formatting getting applied incorrectly

    Your CF formula is checking the entire column. It should check only one cell. Change it to this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    On second look that will also highlight your header. If you don't want that, then this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Here is some information about conditional formatting and formulas.

  4. #4
    Registered User
    Join Date
    12-12-2014
    Location
    India
    MS-Off Ver
    2019
    Posts
    21

    Re: Conditional Formatting getting applied incorrectly

    Awesome! Works perfectly

+ 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. Conditional Formatting when a Filter is applied
    By Scubaru in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-20-2017, 10:10 PM
  2. Conditional formatting working incorrectly inside table only
    By juntjoo in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 06-23-2016, 03:16 AM
  3. Conditional formatting of one row applied to other rows
    By Daniel Tou in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-08-2015, 10:20 AM
  4. Replies: 8
    Last Post: 04-25-2011, 09:37 AM
  5. How to changing conditional formatting once applied
    By mgia0055 in forum Excel General
    Replies: 5
    Last Post: 10-13-2010, 08:15 AM
  6. [SOLVED] can conditional formatting be applied in more then three instance
    By Mary jane in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 12-21-2005, 12:10 AM
  7. How do I determine if conditional formatting is applied to an exc.
    By MarkTheNuke in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 02-18-2005, 10:06 AM

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