+ Reply to Thread
Results 1 to 5 of 5

Conditional Format based on Sum

  1. #1
    Registered User
    Join Date
    03-22-2014
    Location
    Arizona
    MS-Off Ver
    Excel 2010
    Posts
    4

    Conditional Format based on Sum

    Hello,

    I don't usually do much in Excel, but I have been asked to work on a spreadsheet, and I am lost.
    I would like to format the background color of a cell based on the sum of a range of cells.

    A2 background color = Green if A3 through A10 sum is 85 or greater
    AND A2 background color = Red if A3 through A10 sum is less than 35
    OTHERWISE A2 background color = Yellow (if A3 through A10 is between 35 & 84)

    Is this even possible? If so, how would I write the formula to put in cell A2?
    Any & all help is appreciated.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,169

    Re: Conditional Format based on Sum

    Select A2 set background to YELLOW

    Select Conditional Formatting ..Use a formula ....>> =SUM($A$3:$A$10)>=85 ..Format..Fill>>GREEN

    Select Conditional Formatting ..Use a formula ....>> =SUM($A$3:$A$10)<35 ..Format..Fill>>RED
    Last edited by JohnTopley; 11-02-2021 at 03:34 AM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Conditional Format based on Sum

    2nd CF from John Topley should be: ...<35
    Quang PT

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,169

    Re: Conditional Format based on Sum

    @bebo: thank you .... copied formula and forgot to change!

  5. #5
    Registered User
    Join Date
    03-22-2014
    Location
    Arizona
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Conditional Format based on Sum

    This works perfectly, thank you very much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 12
    Last Post: 02-19-2018, 12:32 PM
  2. Replies: 1
    Last Post: 08-19-2016, 03:57 PM
  3. [SOLVED] Conditional format based on other conditional formats?
    By TPDave in forum Excel General
    Replies: 4
    Last Post: 10-23-2014, 01:48 PM
  4. Replies: 2
    Last Post: 09-26-2012, 04:43 AM
  5. Replies: 0
    Last Post: 05-20-2011, 02:33 PM
  6. Conditional Format based on a Conditional Format
    By purdue7997 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-09-2010, 07:40 PM
  7. Conditional format based on VBA
    By Sharp in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-08-2008, 07:05 AM

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