+ Reply to Thread
Results 1 to 8 of 8

Conditional Formatting not recognizing TRUE or FALSE

  1. #1
    Forum Contributor
    Join Date
    10-30-2006
    MS-Off Ver
    O365
    Posts
    311

    Conditional Formatting not recognizing TRUE or FALSE

    Hi,
    I have a conditional format for =L2="TRUE" but nothing happens when L2 has TRUE in the cell (it's the same for FALSE).
    If I change it to =L2="anything else" and write anything else in L2 the conditional format works. Is there a way around this?

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

    Re: Conditional Formatting not recognizing TRUE or FALSE

    Try this:

    L2=TRUE

    (no speech marks).
    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
    Forum Contributor
    Join Date
    10-30-2006
    MS-Off Ver
    O365
    Posts
    311

    Re: Conditional Formatting not recognizing TRUE or FALSE

    PERFECT! Thank you AliGW
    Last edited by AliGW; 08-09-2017 at 05:07 AM. Reason: Unnecessary quotation removed.

  4. #4
    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,767

    Re: Conditional Formatting not recognizing TRUE or FALSE

    No worries! A TRUE/FALSE return in a cell is not strictly text, so you were forcing Excel to look for the wrong type of value in the cell.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  5. #5
    Forum Contributor
    Join Date
    10-30-2006
    MS-Off Ver
    O365
    Posts
    311

    Re: Conditional Formatting not recognizing TRUE or FALSE

    One slight problem.
    When I use L2=FALSE it formats (fills) the cell when it shows FALSE or it's blank. I could put another conditional format on top but i don't want to do that because it overwrites other formats.
    Any ideas on how I can go around this?

  6. #6
    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,767

    Re: Conditional Formatting not recognizing TRUE or FALSE

    Try this:

    =AND(L2=FALSE,L2<>"")

  7. #7
    Forum Contributor
    Join Date
    10-30-2006
    MS-Off Ver
    O365
    Posts
    311

    Re: Conditional Formatting not recognizing TRUE or FALSE

    That's worked wonders!! Thanks again

  8. #8
    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,767

    Re: Conditional Formatting not recognizing TRUE or FALSE

    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. What is best to use for helper cells 0 or 1, typed true or false or =true =false
    By Gingermuppet in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-20-2014, 10:41 PM
  2. [SOLVED] in this TRUE OR FALSE function, i want desired name instead of display true or false
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-15-2013, 06:44 PM
  3. [SOLVED] Conditional Formatting a cell from a "true/false" VLOOKUP
    By Solidstan in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-12-2013, 10:54 AM
  4. [SOLVED] Simple True/False Colouring (Not Conditional)
    By Hyflex in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-13-2012, 11:45 AM
  5. True/False Conditional Formatting Icon Style
    By chasepes in forum Excel General
    Replies: 3
    Last Post: 07-07-2010, 11:18 AM
  6. Formatting TRUE as 1 and FALSE as 0
    By reddykkk in forum Excel General
    Replies: 2
    Last Post: 04-05-2006, 07:13 AM
  7. Conditional Formatting for True/False
    By Phil H. in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-08-2005, 05:20 PM
  8. [SOLVED] how: if, conditional test, true (do nothing if false)
    By jwhitney in forum Excel General
    Replies: 3
    Last Post: 09-13-2005, 11:05 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