+ Reply to Thread
Results 1 to 6 of 6

Conditional formatting to ignore cells with function?

  1. #1
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    Conditional formatting to ignore cells with function?

    "B3" has a COUNTA function in it and I want to have a it change colors when it is >=5. Easy enough, except it always stays green because of the function in it.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,935

    Re: Conditional formatting to ignore cells with function?

    Use COUNTIF instead
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: Conditional formatting to ignore cells with function?

    The Conditional Format is based on the VALUE of the cell or the RESULT of the function.

    Select B3

    Conditional Formatting
    New Rule
    Use a formula to determine...

    =(B3>=5)
    Format as required

    Use Format painter (paintbrush icon) to copy to other cells
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    Re: Conditional formatting to ignore cells with function?

    Jesus Special-K, you have no idea how long that has annoyed me. I believe I even posted on here months back and never got a sufficient answer like this! I basically just had other conditional formatting that superseded it keep the color the way it should be.

    Thank you!

    TMS- thank you, but COUNTA works because I am just counting the non-empty cells next to it.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,935

    Re: Conditional formatting to ignore cells with function?

    You're welcome.

  6. #6
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: Conditional formatting to ignore cells with function?

    Ditto :-)

+ 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 to ignore cells with formulas
    By taylorsm in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-17-2016, 10:56 AM
  2. How to get conditional formatting to ignore #DIV/0 cells
    By juntjoo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-13-2016, 09:49 PM
  3. [SOLVED] How To Ignore Blank Cells with Conditional Formatting
    By gloriousglenn in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-16-2015, 12:03 PM
  4. Conditional Formatting - ignore Blank Cells
    By therealtfloss in forum Excel General
    Replies: 1
    Last Post: 02-09-2015, 11:38 AM
  5. Replies: 5
    Last Post: 05-18-2013, 07:49 PM
  6. [SOLVED] How to get Conditional Formatting to ignore blank cells?
    By AndyHawke in forum Excel General
    Replies: 3
    Last Post: 08-22-2012, 08:25 AM
  7. How to ignore blank cells in conditional formatting?
    By Gooford in forum Excel General
    Replies: 5
    Last Post: 08-22-2012, 08:06 AM

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