+ Reply to Thread
Results 1 to 7 of 7

Conditional format FALSE

  1. #1
    Registered User
    Join Date
    05-11-2015
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    58

    Conditional format FALSE

    I trust the example (pic) is self explanatory in what I am trying to accomplish. I want this same rule applied but for a FALSE format value using this conditional format rule. Hope this make sense. Thanks in advance for your help.
    Attached Images Attached Images

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,771

    Re: Conditional format FALSE

    Sorry, but "FALSE format value" does not mean anything to me. Those three words don't really mean anything strung together. And images are usually not helpful; it would be better to attach your file.

    The rule you are showing tries to match $AZ2 to a value in the named range APRIL_PEN_2016. If it can find it, then the IF function returns 1, otherwise an error will occur and IFERROR will produce the "x" result.

    If MATCH returns 0, then IF will return FALSE because there is no FALSE alternative specified, but that can't happen anyway because MATCH can never return 0.

    So I understand what your rule does, but I don't understand what else you want to do.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    02-07-2013
    Location
    Karachi, Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    290

    Re: Conditional format FALSE

    Hi @mcvideo,

    If I understood you correctly, you can use this formula for CF:
    =ISERROR(MATCH($AZ2,APRIL_PEN_2016,0))

    If it doesn't help, upload a sample excel file (as described above) with manually expected output.

    Regards,
    Khalid

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,645

    Re: Conditional format FALSE

    to return 1 if matchs, else "x":

    =IFEEROR((MATCH($AZ2,APRIL_PEN_2016,0)>0)+0,"x")
    Quang PT

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Conditional format FALSE

    Hi, welcome to the forum

    Not all members can upload/view picture files (Company firewalls and stuff) - and, depending on what browser is being used, some pics dont even show up on the forum

    having said that, what you need to know about CF is that it ONLY needs TRUE or FALSE (or 1 or 0), so using MATCH will either return a value or a FALSE of no match is found.

    the IFERROR(if(match())) is pretty much redundant...CF will never return text. Based on this, you could set up 2 CF rules using the exact same formula, 1 for a "found" and 1 for a "not found". Although a better way to do this may be to give all the cells 1 of those colors, then just use CF to change the color for the opposite rule
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Registered User
    Join Date
    05-11-2015
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    58
    Quote Originally Posted by Khalidngo View Post
    Hi @mcvideo,

    If I understood you correctly, you can use this formula for CF:
    =ISERROR(MATCH($AZ2,APRIL_PEN_2016,0))

    If it doesn't help, upload a sample excel file (as described above) with manually expected output.

    Regards,
    Thank you. This worked for me.

  7. #7
    Registered User
    Join Date
    05-11-2015
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    58

    Re: Conditional format FALSE

    Thanks to all for the feedback. There were other suggested CF that worked as well but I went the simplest method in my opinion mentioned above. Next time I will submit a file example.

    Thanks again.

+ 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. Replies: 1
    Last Post: 09-30-2013, 10:56 PM
  2. Conditional Formatting / FALSE return to BLANK
    By LDVDG in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-01-2013, 04:42 PM
  3. Conditional format a cell when the formula returns False
    By eddienole in forum Excel General
    Replies: 1
    Last Post: 05-16-2012, 01:35 PM
  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. format true and false in a cell
    By rrobelen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-22-2010, 04:49 PM
  6. [SOLVED] Logical Format showing 0/1 and not True/False.
    By Tony in forum Excel General
    Replies: 2
    Last Post: 06-01-2006, 04:00 AM
  7. [SOLVED] 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