+ Reply to Thread
Results 1 to 3 of 3

Conditional Formatting

  1. #1
    Registered User
    Join Date
    07-08-2007
    Posts
    4

    Conditional Formatting

    Ok what I am trying to do is if a cell contains the letters "C/N", I want the row to turn red. I have got it to work if it only contains "C/N", but I need some help with how to search the cell for the letters whilst using conditional formatting.
    Can anyone help?

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    If you want the whole of row 2 to turn red when B2 contains "C/N", possibly within other text try this.

    Select row 2

    Use conditional formatting with "formula is" option and the formula

    =FIND("C/N",$B2)

    choose red pattern

    Note: you must have the $ in front of the B to make sure the whole row is formatted

    Note 2: The above is case-sensitive so formatting won't be applied if B2 contains c/N or c/n etc. If you don't want it to be case-sensitive use SEARCH instead of FIND

  3. #3
    Registered User
    Join Date
    07-08-2007
    Posts
    4
    Thankyou! Argh, I've been messing around with that all day

+ 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