+ Reply to Thread
Results 1 to 9 of 9

How to sum colored cells

  1. #1
    Forum Contributor
    Join Date
    02-12-2006
    Location
    London UK
    Posts
    109

    How to sum colored cells

    I have a column of prices, some of which are fill colored lavender (the rest are not colored)
    Is there a cell formula which will sum together only the prices in the lavender cells?

    Thanks.
    Astrikor

  2. #2
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: How to sum colored cells

    Only with VBA
    One of many examples.
    http://www.extendoffice.com/document...-by-color.html
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

  3. #3
    Forum Contributor
    Join Date
    02-12-2006
    Location
    London UK
    Posts
    109

    Re: How to sum colored cells

    That's a pity!
    Any other ideas?

  4. #4
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: How to sum colored cells

    Are those prices in anyway way different than the prices in white cells?.Is the any condition?
    This way you can find an around solution to your problem.

  5. #5
    Forum Contributor
    Join Date
    02-12-2006
    Location
    London UK
    Posts
    109

    Re: How to sum colored cells

    The colored cells relate to prices for another distributor and are coded before I receive them together with the other prices as a single column.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: How to sum colored cells

    A work-around might be to filter by color, and then to use =SUBTOTAL(9,range) to run the calc for you...the total will be wrong when you remove the filter
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: How to sum colored cells

    Is the coding "special"- different from others?
    Can you attached a workbook?

  8. #8
    Valued Forum Contributor adyteo's Avatar
    Join Date
    01-10-2013
    Location
    Calgary
    MS-Off Ver
    Excel 2010
    Posts
    540

    Re: How to sum colored cells


  9. #9
    Forum Contributor
    Join Date
    02-12-2006
    Location
    London UK
    Posts
    109

    Re: How to sum colored cells

    Brilliant!
    Thanks adyteo.

+ 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: 1
    Last Post: 11-09-2013, 02:43 AM
  2. VBA: If cells in row colored x then x ...
    By TheDude76 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-28-2012, 07:50 PM
  3. Using Colored Cells to Highlight Cells Requiring Data
    By curtis in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-30-2010, 09:27 PM
  4. Have blocks of blue colored cells ... want them surrounded by lavender-colored cells
    By rocket1406 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-01-2007, 03:59 PM
  5. colored cells?
    By -Brian-H- in forum Excel General
    Replies: 1
    Last Post: 09-04-2006, 02:36 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