+ Reply to Thread
Results 1 to 3 of 3

Conditional Formatting Issues

  1. #1
    Registered User
    Join Date
    08-01-2019
    Location
    London
    MS-Off Ver
    2016
    Posts
    31

    Conditional Formatting Issues

    Hello all,

    I'm having issues with Excel's Conditional Formatting and I'm hoping you'll be able to help me solve this. I've put together an excel table that compares 'planned costs' to 'incurred costs' and provides the resulting variances. As the table is dynamic, I've had to use the following formula for calculating variances:

    =IFERROR(B2-C2,"")

    I've also applied conditional formatting to this particular column, that highlights any cells "Greater Than" 0 (zero) with Light Red Fill with Dark Red Text and any cells "Less Than" 0 (zero) with Green Fill with Dark Green Text.

    The issue I'm having is that any cells that are left blank due to the formula shown above, are having the conditional formatting applied for "Greater Than" applied to them. I have tried implementing formatting specifically for cells left blank, but this doesn't seem to work.

    Any ideas on how to work around this?

    Cheers,
    G

  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,460

    Re: Conditional Formatting Issues

    Use a formula for the CF instead:

    =AND(cell>0,cell<>"")

    =AND(cell<0,cell<>"")

    Replace cell with the correct cell reference for the start of the CF range.
    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-01-2019
    Location
    London
    MS-Off Ver
    2016
    Posts
    31

    Re: Conditional Formatting Issues

    Thank you so much Ali, that worked perfectly!

    Cheers,
    G

+ 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 Issues...
    By Dink37797 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-11-2019, 08:38 AM
  2. [SOLVED] Conditional Formatting Issues
    By euanm in forum Excel General
    Replies: 3
    Last Post: 10-17-2017, 02:32 AM
  3. [SOLVED] Need Help: Conditional Formatting Issues
    By Jung Bin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-15-2015, 04:52 AM
  4. [SOLVED] Conditional formatting issues
    By missydanni in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-11-2015, 09:44 AM
  5. Conditional formatting issues
    By Deep_Shadow in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-02-2015, 09:55 AM
  6. [SOLVED] Conditional formatting issues
    By Deep_Shadow in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-23-2015, 03:11 PM
  7. Conditional Formatting Issues
    By merlot in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-06-2005, 11:05 PM

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