+ Reply to Thread
Results 1 to 6 of 6

Conditional Formatting

  1. #1
    Registered User
    Join Date
    07-13-2014
    Location
    San Antonio, TX
    MS-Off Ver
    2007
    Posts
    5

    Conditional Formatting

    If I have two columns with date values, how do I create a rule to have A1 highlighted if its value is not equal to B1?

  2. #2
    Valued Forum Contributor
    Join Date
    05-13-2010
    Location
    Belo Horizonte, Brazil
    MS-Off Ver
    Excel 2003; 2007
    Posts
    441

    Re: Conditional Formatting

    major2448, Good morning.

    Try to use:

    =A1<>B1

    Put it at Conditional Format in a formula.
    Choose your desired color.

    Apply it to a column A.

    Is it what you want?
    I hope it helps.
    Last edited by Mazzaropi; 07-25-2014 at 09:48 AM. Reason: completing an advice
    ...If my answer helped you, Please, click on. * Add Reputation (at left)

    Best regards.
    Marc?lio Lob?o

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Conditional Formatting

    Try this...

    Select cell A1

    Conditional Formatting

    Select the "Use a formula to determine which cells to format" option

    Use this formula:

    =(COUNT(A1:B1)=2)*(A1<>B1)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    07-13-2014
    Location
    San Antonio, TX
    MS-Off Ver
    2007
    Posts
    5

    Re: Conditional Formatting

    How do highlight a cell in one column if its value is not equal to its corresponding cell in another column?

  5. #5
    Valued Forum Contributor
    Join Date
    05-13-2010
    Location
    Belo Horizonte, Brazil
    MS-Off Ver
    Excel 2003; 2007
    Posts
    441

    Re: Conditional Formatting

    I answered you at my previous post.

  6. #6
    Valued Forum Contributor
    Join Date
    05-13-2010
    Location
    Belo Horizonte, Brazil
    MS-Off Ver
    Excel 2003; 2007
    Posts
    441

    Re: Conditional Formatting

    major2448, Good afternoon.

    Take a look at this example I did for you:
    25-07-2014_ExcelForum_Conditional_Format_Example-OK.xlsx

    Is it what you want?
    I hope it helps.

+ 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. Opening xlsm files with conditional formatting opens with removed conditional formatting
    By Martijn.Steenbakker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2014, 05:38 AM
  3. Replies: 1
    Last Post: 09-20-2013, 06:23 PM
  4. Delete Conditional Formatting conditions but keep cell formatting - Excel 2010
    By tetreama in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-09-2012, 08:28 PM
  5. Replies: 3
    Last Post: 05-15-2012, 04:13 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