+ Reply to Thread
Results 1 to 4 of 4

Formula that adds colors to a cells range sum, based on a specific cell.

  1. #1
    Registered User
    Join Date
    01-30-2014
    Location
    Mexico
    MS-Off Ver
    Excel 2010
    Posts
    5

    Formula that adds colors to a cells range sum, based on a specific cell.

    Hi,

    Need a formula that based on a cell value, add color to an adjacent range sum, one color when the sum of range is ≤ the cell value, and a different one when cell value is > the cell value.
    eg. Attached.

    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Formula that adds colors to a cells range sum, based on a specific cell.

    Hello, welcome to the forum!

    This can be accomplished through Conditional Formatting. Try this:

    Highlight C4:F4 > Conditional Formatting > New Rule > Use a formula
    =SUM($C4:C4)<=$B4
    Format: Fill green > OK > OK

    Highlight C4:F4 > Conditional Formatting > New Rule > Use a formula
    =SUM($C4:C4)>$B4
    Format: Fill red > OK > OK

  3. #3
    Registered User
    Join Date
    01-30-2014
    Location
    Mexico
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Formula that adds colors to a cells range sum, based on a specific cell.

    yes, Thank you !

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Formula that adds colors to a cells range sum, based on a specific cell.

    You're welcome. Happy to help!

    If that solved your question, please mark this thread as SOLVED.

+ 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. VBA - Show cell comments for a specific range of cells based on date, in a table format
    By celebwen_orn in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-15-2016, 02:10 PM
  2. Changing cells and column chart colors based on cell colors
    By HDeuce in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-03-2016, 11:43 AM
  3. Replies: 3
    Last Post: 10-21-2015, 03:51 PM
  4. Put a formula in one cell that adds up two different cells and Autofill
    By Chawaz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-13-2014, 10:38 AM
  5. Replies: 5
    Last Post: 07-16-2014, 07:46 AM
  6. Replies: 3
    Last Post: 01-26-2012, 01:38 PM
  7. Adds text in one cell based on two other cells
    By tex3285 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 01-12-2011, 05:32 PM

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