+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting With Sum of Cells with Formulas - Cant get it to work

  1. #1
    Registered User
    Join Date
    08-08-2008
    Location
    ny
    Posts
    70

    Conditional Formatting With Sum of Cells with Formulas - Cant get it to work

    Hello.

    I am trying to add some conditional formatting to three cells that will show Green when the sum of three cells are equal to one other cell. And it will be red if if the sum of the three cells are not equal to the one cell. For some reason it isn't working across all three cells.

    The three cells are formulas so I don't know if it is tripping up on that or the rounding issue or what.

    I tried to attach a file. I hope it worked.

    Please help.

    Stephen
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    08-08-2008
    Location
    ny
    Posts
    70

    Re: Conditional Formatting With Sum of Cells with Formulas - Cant get it to work

    You will see the cells I am working on as they are highlighted. But in case you don't...

    Green
    =$G$16:$G$18
    =((SUM(G16:G18))<>G2)


    Red
    =$G$16:$G$18
    =((SUM(G16:G18))=G2)

  3. #3
    Forum Contributor
    Join Date
    08-26-2016
    Location
    UK
    MS-Off Ver
    O365
    Posts
    260

    Re: Conditional Formatting With Sum of Cells with Formulas - Cant get it to work

    The CF formula needs to have absolute, or semi absolute references, eg.
    =((SUM(G16:G18))=G2)
    becomes:
    =((SUM($G$16:$G$18))=$G$2)

  4. #4
    Registered User
    Join Date
    08-08-2008
    Location
    ny
    Posts
    70

    Re: Conditional Formatting With Sum of Cells with Formulas - Cant get it to work

    Ahh. That makes sense. Your the best. 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. [SOLVED] Conditional formatting on cells containing formulas
    By Finalfrontier1976 in forum Excel General
    Replies: 8
    Last Post: 06-16-2018, 10:45 PM
  2. [SOLVED] Conditional Formatting Cells containing formulas
    By sandy1977 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-20-2016, 06:40 PM
  3. [SOLVED] Why dont these formulas work in conditional formatting?
    By davidpierce in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-11-2015, 09:37 PM
  4. Conditional Formatting Cells That Contain Formulas - NO VBA!
    By BrianRomanowski in forum Excel General
    Replies: 2
    Last Post: 03-28-2013, 01:26 PM
  5. Replies: 8
    Last Post: 03-22-2013, 03:40 PM
  6. [SOLVED] Conditional Formatting on Cells with Formulas
    By rentb23 in forum Excel General
    Replies: 7
    Last Post: 10-31-2012, 08:29 AM
  7. Conditional Formatting for Cells with Formulas
    By cheddarthief in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-14-2011, 01:06 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