+ Reply to Thread
Results 1 to 5 of 5

Conditional Formatting

  1. #1
    Registered User
    Join Date
    08-10-2011
    Location
    Little Rock Arkansas
    MS-Off Ver
    Excel 2003
    Posts
    61

    Conditional Formatting

    Cell D4 contains a 4, and cell E4 contains a 3. How do I set up conditional formatting for D4:E4 to be red if D4 is greater than E4 =IF(D4>=E4) I get a weird error message saying I can't have a formula. What am I doing wrong?
    Attached Images Attached Images

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,791

    Re: Conditional Formatting

    You don't need IF:

    =D4>=E4
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    08-10-2011
    Location
    Little Rock Arkansas
    MS-Off Ver
    Excel 2003
    Posts
    61

    Re: Conditional Formatting

    DOH! Thank you!

  4. #4
    Registered User
    Join Date
    08-10-2011
    Location
    Little Rock Arkansas
    MS-Off Ver
    Excel 2003
    Posts
    61

    Re: Conditional Formatting

    What if I need to compare two pairs? D4 is greater than E4, and G4 is greater than H4. If both are true to do the conditional formatting.
    I tried this, but it didn't work.
    Please Login or Register  to view this content.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,791

    Re: Conditional Formatting

    Greater than is not greater than or equal to!

    =AND(D4>E4,G4>H4)

    If it doesn't work, then maybe some of your 'values' are actually just text.

+ 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. [SOLVED] Conditional Formatting based on another cells Conditional Formatting
    By chriskay in forum Excel General
    Replies: 4
    Last Post: 08-22-2019, 05:33 AM
  2. [SOLVED] Override conditional formatting (in general, without changing the conditional formatting)
    By Stormin' in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-21-2017, 07:15 AM
  3. Conditional Formatting Removing Previous Conditional Formatting?
    By CravingGod in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-04-2016, 01:02 PM
  4. Replies: 6
    Last Post: 01-08-2016, 06:44 PM
  5. 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
  6. Replies: 1
    Last Post: 09-20-2013, 06:23 PM
  7. 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