+ Reply to Thread
Results 1 to 3 of 3

Conditional Formatting if a cell value does not equal 0 or 1

  1. #1
    Registered User
    Join Date
    09-17-2012
    Location
    Denver, CO
    MS-Off Ver
    Excel 2010
    Posts
    13

    Conditional Formatting if a cell value does not equal 0 or 1

    I would like to highlight a cell red if it's value is NOT either 1 or 0. It seems this should be simple enough, but I can't quite figure it out. Any suggestions?

    Thank you!

  2. #2
    Forum Contributor
    Join Date
    01-17-2012
    Location
    Canada
    MS-Off Ver
    Excel 365
    Posts
    221

    Re: Conditional Formatting if a cell value does not equal 0 or 1

    cond_format6.xlsx

    HI dks,

    please see attached for one solution.
    Regards,

    jeversf

  3. #3
    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 Formatting if a cell value does not equal 0 or 1

    1. highlight the range you want to apply the conditional formatting to
    2. on the home tabe, styles, select CF
    3. select new rule, select use formula
    4. enter =AND(A1<>1,A1<>0)
    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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