+ Reply to Thread
Results 1 to 3 of 3

conditional Formatting based on if formulae.

  1. #1
    Registered User
    Join Date
    12-13-2012
    Location
    Watford, England
    MS-Off Ver
    Excel 2010
    Posts
    5

    conditional Formatting based on if formulae.

    Hello

    I have a Vlookup table that uses conditional formatting to format the cell type between percentage and number etc I would like the same cells to change colour RED/Green depending on if they are higher or lower than a set value.

    I've been playing with if & and formulae to try and achieve it but im not getting close.

    Cell B4 holds the Vlookup driver.

    In words...

    IF B4 = FIR then the table will use conditional formatting to highligh cells higher or lower than 1.02
    If B4 = TOC the the table will use conditional formatting to high light cells higher or lower than 90%

    Hope this make sense.

    Many Thanks

  2. #2
    Forum Expert 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 based on if formulae.

    =AND($B$4="FIR",F1<1.02)

    f1 IS THE FIRST CELL IN RANGE THAT YOU WANT TO FILL WITH COLOR.
    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 Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: conditional Formatting based on if formulae.

    =AND($B$4="fir",C7<>1.02) where c7 is first entry in your table
    =AND($B$4="toc",C7<>0.9)
    "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

+ 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