+ Reply to Thread
Results 1 to 4 of 4

Conditional formatting to mark cells with on text strnig but lacking another text string

  1. #1
    Registered User
    Join Date
    09-18-2013
    Location
    Austin TX
    MS-Off Ver
    Excel 2003
    Posts
    8

    Conditional formatting to mark cells with on text strnig but lacking another text string

    Hello,

    I need conditional formatting to find references to restaurants in a certain column on my spreadsheet. The data sometmies has "restaurant" but more often has "rest," so "rest" is the text string in the formatting formula. However, I need to exclude results with "no rest" which (obviously) indicates "no restaurant."

    Because I (and the other users of this spreadsheet) can't make anything simple, there are actually two formulas I need to update.


    One formula is contingent on both the business type (column T) and the last time the business was inspected (column Q):
    =AND(SEARCH("rest",T1),(Q1<TODAY()-550)+(Q1="00/00/00"))

    (00/00/00 indicates that the business has never been inspected)


    The other formula just checks for any of several different business type indicators:
    =OR(ISNUMBER(SEARCH("rest",T1)),ISNUMBER(SEARCH("$",T1)),ISNUMBER(SEARCH("otel",T1)),ISNUMBER(SEARCH("body shop",T1)))


    How can I exclude cells including "no rest" from these results? This is in Excel 2010.

    Thanks in advance,
    Kelsey

  2. #2
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Conditional formatting to mark cells with on text strnig but lacking another text stri

    Maybe something like this:
    (#1):
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    (#2):
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Hope this helps

    Edit-
    you could get rid of the second and as well in the first case:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by dredwolf; 11-14-2013 at 03:41 PM.
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  3. #3
    Registered User
    Join Date
    09-18-2013
    Location
    Austin TX
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Conditional formatting to mark cells with on text strnig but lacking another text stri

    Works like a charm! Thanks for your help!

  4. #4
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Conditional formatting to mark cells with on text strnig but lacking another text stri

    You are very 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. Replies: 1
    Last Post: 06-02-2013, 04:00 PM
  2. How to mark cells based on date in other cell using conditional formatting
    By mharsvik in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-01-2012, 12:33 PM
  3. Conditional formatting list of cells of text
    By skinnyboy77 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-15-2012, 11:31 AM
  4. Formatting String of Text into Cells
    By MitchU in forum Excel General
    Replies: 4
    Last Post: 10-22-2007, 04:38 PM
  5. [SOLVED] conditional formatting on specific text in cells
    By kwkhoo in forum Excel General
    Replies: 3
    Last Post: 06-21-2005, 12:05 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