+ Reply to Thread
Results 1 to 3 of 3

SUM value of a cell by Colors

  1. #1
    Registered User
    Join Date
    11-27-2013
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    65

    SUM value of a cell by Colors

    Any here know how to sum values of a cell by colors?
    Like for example, sum value of any cells in color Red multiplied to the number of quantity.
    Attached Files Attached Files

  2. #2
    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
    53,044

    Re: SUM value of a cell by Colors

    It looks like those colors were added manually? If so, then no, no regular formula will count colors. Shading/color/font etc are cosmetic formatting, not data, and excel formulas work with data.

    However, if there is some logic behind how the cells were colored, then all may not be lost, we may be able to create a formula based on that logic
    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

  3. #3
    Registered User
    Join Date
    04-19-2013
    Location
    Buffalo, NY
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: SUM value of a cell by Colors

    I got it to work for me using this user defined function below from ozgrid.com Worked well.




    Please Login or Register  to view this content.
    Last edited by brocktoon93; 10-02-2014 at 07:36 AM.
    http://www.ExcelbyJoe.com

+ 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: 08-01-2014, 10:33 AM
  2. Replies: 12
    Last Post: 07-08-2013, 09:33 AM
  3. ComboBox with a list of Metal Colors which changes price when colors are selected.
    By 1976dan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-25-2012, 04:48 AM
  4. Replies: 3
    Last Post: 08-08-2008, 06:12 AM
  5. [SOLVED] Can't format font colors or cell fill-in colors
    By canoeron in forum Excel General
    Replies: 3
    Last Post: 08-22-2005, 07:05 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