+ Reply to Thread
Results 1 to 4 of 4

Conditional formatting with multiple criteria

  1. #1
    Registered User
    Join Date
    09-01-2009
    Location
    England
    MS-Off Ver
    Excel 2000
    Posts
    25

    Conditional formatting with multiple criteria

    I am trying to do a conditional formatting based on the result in one cell but it needs to add up multiple cells first to determine which conditional format it needs to use. I am not sure whether I need to do a formula conditional format or whether to use cell is greater than with =sum() in it. I have tried both but neither seem to be working correctly.
    I have attached an example of the spreadsheet and the conditions I am trying. I am using 2010 version.

    Basically, the closing amount for Monday in prod 1 (cell c4), needs to display in red if sum of the cumm value for Tuesday (L4), Wed (N4), Thur (P4) & Fri (R4) is greater than that value or display in amber if the sum of the cumm value for Tuesday (L4), Wed (N4), Thur (P4).

    I need to complete the same for the whole column for Monday (col C) for each appropriate product. Then the same for column B but this will sum different cells but the principal will be the same.

    Any help on this would be great as I am stuck!
    Thanks.
    Attached Files Attached Files

  2. #2
    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 with multiple criteria

    or display in amber if the sum of the cumm value for Tuesday (L4), Wed (N4), Thur (P4).
    if the sum is what?
    first bit is =SUM($L4,$N4,$P4,$R4)>$C4
    "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

  3. #3
    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 with multiple criteria

    C5=0. Then your formula for amber(as first condition) is =SUM($L4,$N4,$P4). This Sum gives 20. So correctly the color in this cell is aber..
    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.

  4. #4
    Registered User
    Join Date
    09-01-2009
    Location
    England
    MS-Off Ver
    Excel 2000
    Posts
    25

    Re: Conditional formatting with multiple criteria

    Quote Originally Posted by martindwilson View Post
    if the sum is what?
    first bit is =SUM($L4,$N4,$P4,$R4)>$C4
    Sorry I didn't make myself very clear
    The amber section would be the =sum($L4,$N4,$P4)>$C4. So more or less the same formula just one cell less.

+ 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