+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting using data from separate column

  1. #1
    Registered User
    Join Date
    04-05-2013
    Location
    Scotland
    MS-Off Ver
    Excel 2010
    Posts
    2

    Conditional Formatting using data from separate column

    Hi,

    My first post so was hoping someone could help please?

    As a working example: client name is column A and start date is column B - If client name contains the phrase “PS” in column A AND original start date is more than 1 year in column B I need the cell in column B to turn red…

    I can't seem to find a formula which will link both columns.

    Many thanks!
    Last edited by leanne1727; 04-05-2013 at 01:14 PM.

  2. #2
    Forum Moderator Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Conditional Formatting using data from separate column

    In Conditional Formatting rules put this.

    =AND(SEARCH("ps",$A1),$B1<TODAY()-365)
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Conditional Formatting using data from separate column

    =AND(ISNUMBER(SEARCH("ps",$A2)),$B2<TODAY()-365) is probably easiest
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    04-05-2013
    Location
    Scotland
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Conditional Formatting using data from separate column

    Worked a treat! Thanks so much - really appreciated.

    Can I ask why using $A1 covers the full column? I didn't know this would work.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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