+ Reply to Thread
Results 1 to 6 of 6

How to search for NOT condition

  1. #1
    Registered User
    Join Date
    03-14-2008
    MS-Off Ver
    2010 (Home) + 365 (Home)
    Posts
    82

    How to search for NOT condition

    I want to create a rule on a column to colour cells if an item does NOT match 2 or more conditions.

    Say, I want to colour a cell based on these conditions:

    - Isn't blank
    - Doesn't contain 'XYZ' text
    - Doesn't contain 'abc' text

    I normally start by searching google for an answer... but not quite sure what to search for.
    Thanks.

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

    Re: How to search for NOT condition

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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
    Registered User
    Join Date
    03-14-2008
    MS-Off Ver
    2010 (Home) + 365 (Home)
    Posts
    82

    Re: How to search for NOT condition

    @TMS
    Thanks. That looks great.
    How would I do a wildcard search like: A1<>"*XYZ*" ?

    Thanks.

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

    Re: How to search for NOT condition

    OK,... bit more complicated, but this seems to work:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Valued Forum Contributor jtakw's Avatar
    Join Date
    05-05-2018
    Location
    CA, USA
    MS-Off Ver
    2016
    Posts
    668

    Re: How to search for NOT condition

    Hi,

    Or you can use this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

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

    Re: How to search for NOT condition

    Mmmm ... well, that is a little simpler

+ 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. Returning all values that match certain search condition
    By skip2 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-17-2016, 09:50 AM
  2. Multiplying with search condition
    By reander in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-25-2013, 07:28 AM
  3. If and search condition
    By zeez36 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-24-2013, 07:41 AM
  4. Applying a VLOOKUP using an Alphanumeric Value search condition
    By JeffNYG23 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-16-2013, 02:33 PM
  5. Multiple Condition Search
    By statenja in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-07-2007, 08:06 PM
  6. search condition- copy
    By Khalil Handal in forum Excel General
    Replies: 1
    Last Post: 03-07-2006, 06:40 PM
  7. how to search in excel with condition
    By David in forum Excel General
    Replies: 1
    Last Post: 02-08-2005, 06:06 PM

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