+ Reply to Thread
Results 1 to 8 of 8

Change the color of cells if the sum of those cells is equal to 12.

Hybrid View

  1. #1
    Registered User
    Join Date
    03-31-2015
    Location
    us
    MS-Off Ver
    2010
    Posts
    5

    Change the color of cells if the sum of those cells is equal to 12.

    I need to enter a number in cells A1 through A20, if the sum of any of those cells is = to 12 then I want A1 through A20 fill color to be green. (1+9+2=12 or 12 in just one cell)
    I have tried conditional formatting-New rule-Use a formula. The formula that I tried was =$A$1:$A$20=12 and format the cell green.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,375

    Re: Change the color of cells if the sum of those cells is equal to 12.

    Nealrly there. Use =A1=12 for the formula and A1:A12 for the "applies to" range as in the attached sheet.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    03-31-2015
    Location
    us
    MS-Off Ver
    2010
    Posts
    5

    Re: Change the color of cells if the sum of those cells is equal to 12.

    Thank you for the quick reply, when I click on the “Attached Files- Download” it takes me to a log on page where I log on and it keeps repeating the log on process.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,375

    Re: Change the color of cells if the sum of those cells is equal to 12.

    This has happened to others before. Someone was complaining about htis a day or two back. I suggest you send me your email address by Private Message just reply tot he one I've already sent you) and I'll email it.

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,634

    Re: Change the color of cells if the sum of those cells is equal to 12.

    I've dowload it regulary

  6. #6
    Registered User
    Join Date
    03-31-2015
    Location
    us
    MS-Off Ver
    2010
    Posts
    5

    Re: Change the color of cells if the sum of those cells is equal to 12.

    CF query to Email.xlsx
    I got it downloaded and formatted some cells the way i need it to look.i am trying to attach it to this post, check attachment and thanks again.

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,375

    Re: Change the color of cells if the sum of those cells is equal to 12.

    We got this sorted by PM as the download wasn't working fo the OP. For the record, here's the final vesion:
    Attached Files Attached Files

  8. #8
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,634

    Re: Change the color of cells if the sum of those cells is equal to 12.

    Use:
    Formula: copy to clipboard
    =SUM($A$1:$A$20)=12
    Attached Files Attached Files

+ 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] change fill color of a range of cells based on color of a cell?
    By DarMelNel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-20-2014, 04:48 PM
  2. [SOLVED] Conditional Formatting Formula - Chang color of cells is other cell is equal to..
    By Nitefox in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 6
    Last Post: 09-29-2013, 11:00 PM
  3. Compare two cells and if they are not equal change colour
    By up_and_under in forum Excel General
    Replies: 2
    Last Post: 05-26-2011, 10:02 PM
  4. Replies: 3
    Last Post: 07-08-2010, 06:48 PM
  5. Change cells color & cells contains if formula
    By dot in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-24-2006, 09:35 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