+ Reply to Thread
Results 1 to 4 of 4

Conditional formatting using multiple conditions

Hybrid View

  1. #1
    Registered User
    Join Date
    02-27-2008
    Posts
    44

    Conditional formatting using multiple conditions

    Hi

    Can someone help with this - having a bit of trouble.

    I've got two columns - last years bonus target % and this years%. Last year some people didn't have one so it just shows NO TARGET.

    I want to put a conditional format on this years target so that it shows in red if it is different from last years (but ignoring anyone that has NO TARGET for last year because that will obviously be different.

    e.g.
    Last year This year
    10% 15%
    NO TARGET 25%

    I want the 15% to be in red.

    Probably really simple!
    thanks!

  2. #2
    Registered User
    Join Date
    01-07-2009
    Location
    Coventry, England
    MS-Off Ver
    Excel 365
    Posts
    58

    Re: Conditional formatting using multiple conditions

    Use conditional formatting in which you will put the formula:
    =IF(AND(NOT(EXACT(B4;"NO TARGET"));B4=C4);0;1)
    There might be a less complicated formula but this should work. Replace ";" with "," if needed.

  3. #3
    Registered User
    Join Date
    02-27-2008
    Posts
    44

    Re: Conditional formatting using multiple conditions

    Hi

    thanks for that...it's still highlighting the cells where last year said NO TARGET though....any ideas? I want it to ignore those ones.

    Thx

  4. #4
    Registered User
    Join Date
    01-07-2009
    Location
    Coventry, England
    MS-Off Ver
    Excel 365
    Posts
    58

    Re: Conditional formatting using multiple conditions

    the EXACT function will check if the cell matches exactly the value. Do you have No Target in those cells by any chance?
    If you don't have NO TARGET everywhere you can use
    =AND(NOT(EXACT(UPPER(D8);"NO TARGET"));D8=E8)

+ 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