+ Reply to Thread
Results 1 to 7 of 7

conditional format equal, adjacent cells

  1. #1
    Registered User
    Join Date
    04-10-2015
    Location
    Cleveland, OH
    MS-Off Ver
    Office 365
    Posts
    24

    conditional format equal, adjacent cells

    Hello, everyone,

    I have a question about conditional formatting. I have two columns, B and C, with data. The data in each column begins in row 5. The conditional format I would like is: If B5 does not equal C5, B5 is highlighted a color. The same logic continues down each column- if B6 does not equal C6; if B7 does not equal C7...etc, the cell in column B is highlighted. Otherwise, if the cells do agree, the cell in column B is left unshaded. My attempt so far has been to highlight column B, open conditional formatting, enter this formula as the rule =B5<>C5, select my format and apply the rule. Upon execution, every cell is highlighted. How do I correct my error?

    Thank you!

  2. #2
    Forum Expert Josť Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: conditional format equal, adjacent cells

    Try this


    $B5<>$C5

  3. #3
    Registered User
    Join Date
    04-10-2015
    Location
    Cleveland, OH
    MS-Off Ver
    Office 365
    Posts
    24

    Re: conditional format equal, adjacent cells

    I followed the same process above with the exception of changing the formula to your suggestion. Unfortunately, it did not work.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    41,986

    Re: conditional format equal, adjacent cells

    Attach a workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  5. #5
    Forum Expert Josť Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: conditional format equal, adjacent cells

    See if the file helps you.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    04-10-2015
    Location
    Cleveland, OH
    MS-Off Ver
    Office 365
    Posts
    24

    Re: conditional format equal, adjacent cells

    Thank you, Mr. Augusto. Your workbook provided the guidance I needed!

  7. #7
    Forum Expert Josť Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: conditional format equal, adjacent cells

    You're welcome.

+ 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 Format around 0 (+adjacent cells)
    By Median in forum Excel General
    Replies: 2
    Last Post: 03-30-2018, 03:44 PM
  2. counting in a data set if adjacent cells are equal
    By ed nott in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-25-2018, 07:55 AM
  3. Replies: 2
    Last Post: 09-11-2017, 03:42 PM
  4. How to Conditional Format based on adjacent cells
    By pcarmas in forum Excel General
    Replies: 3
    Last Post: 10-21-2013, 05:33 PM
  5. Counting adjacent cells(text) to equal one value
    By Calithea in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-29-2012, 04:08 AM
  6. Replies: 3
    Last Post: 07-19-2012, 01:24 PM
  7. Conditional Format-cells with un-equal numbers
    By AWS in forum Excel General
    Replies: 4
    Last Post: 09-27-2005, 06:05 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