+ Reply to Thread
Results 1 to 6 of 6

Format only cells that sum of values is higher than comparing value

  1. #1
    Registered User
    Join Date
    01-23-2013
    Location
    Slovenská republika
    MS-Off Ver
    Excel 2010
    Posts
    27

    Question Format only cells that sum of values is higher than comparing value

    Hi folks.

    Can you give me some idea please how to use conditional format if I need format only those cells that meet following rule:

    Format only cells that sum of values is higher than comparing value. Please look at following picture. I need conditional formatting for cells in C10:F10. In cells C10:E10 is green color because SUM(C10:E10) is lower than K1. Cell F10 is red because SUM(C10:F10) is higher than K1. Also others cells to right are red.

    Picture
    cell-formatting-by-sum.png

    Thank you in advance if you help me how to resolve this problem.
    Regards Jan
    Attached Files Attached Files
    Last edited by Jan Zitniak; 05-30-2016 at 11:56 AM. Reason: Solved

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Format only cells that sum of values is higher than comparing value

    Along with many other contributors, I am not able to view .png files on this forum due to software incompatibilities with some browsers - attach an Excel workbook instead, then more people will be able to make sense of what you are trying to do.

    Pete

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

    Re: Format only cells that sum of values is higher than comparing value

    Select range C10:F10 then apply following formula in CF:

    =SUM($C$10:C$10)>=$K$1
    Quang PT

  4. #4
    Registered User
    Join Date
    01-23-2013
    Location
    Slovenská republika
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Format only cells that sum of values is higher than comparing value

    Thanks Pete_UK for your quick response. I already update my question with attachment.

  5. #5
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: Format only cells that sum of values is higher than comparing value

    Formula for CF range C10:H10

    =SUM($C$10:C$10)>=$K$1 -> red

    =SUM($C$10:C$10)<$K$1 -> green

  6. #6
    Registered User
    Join Date
    01-23-2013
    Location
    Slovenská republika
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Format only cells that sum of values is higher than comparing value

    Thank you bebo021999, your solution works very well

+ 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. [SOLVED] Comparing two columns and returning the number of cells in one column with higher values
    By heresteve2 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-08-2014, 01:06 PM
  2. [SOLVED] Comparing columns for values higher, lower, or equal...
    By D.Lovell in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-18-2013, 07:22 PM
  3. Replies: 2
    Last Post: 05-31-2010, 03:23 PM
  4. [SOLVED] comparing a value in a cell to see if it is higher than a number
    By PK in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-06-2005, 12:05 AM
  5. comparing a value in a cell to see if it is higher than a number
    By PK in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-05-2005, 11:05 PM
  6. [SOLVED] comparing a value in a cell to see if it is higher than a number
    By PK in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-05-2005, 10:05 PM
  7. comparing a value in a cell to see if it is higher than a number
    By PK in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-02-2005, 11:05 AM

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