+ Reply to Thread
Results 1 to 8 of 8

AutoSum based on Color

  1. #1
    Registered User
    Join Date
    04-07-2010
    Location
    Qatar
    MS-Off Ver
    Excel 2007
    Posts
    25

    AutoSum based on Color

    Hello There,

    I would to like to AutoSum a group of rows depending on the color (yellow) or Serial No. I have attached the Excel Workbook that illustrates what I wish to achieved.

    Thank you so much.

    Regards.
    Attached Files Attached Files

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: AutoSum based on Color

    QPM, could you possibly upload a smaller data sample to illustrate your need. I'm sure a few dozen rows with a file size of less than 20 KB would get more people interested.

  3. #3
    Registered User
    Join Date
    04-07-2010
    Location
    Qatar
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: AutoSum based on Color

    Hi teylyn,

    No problem. I have attached again the smaller capacity. Thanks..

    Regards.
    Attached Files Attached Files

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: AutoSum based on Color

    Here's an example of a UDF to sum or count by colour
    Attached Files Attached Files
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Registered User
    Join Date
    04-07-2010
    Location
    Qatar
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: AutoSum based on Color

    Hi royUK,

    Thank you so much. I will try to apply in my workbook. Then I will get back to you.

    Thanks again...

    Regards.

  6. #6
    Registered User
    Join Date
    04-07-2010
    Location
    Qatar
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: AutoSum based on Color

    Hi royUK,

    Sorry, but it is showing a #NAME? or #VALUE! whenever I change the range and the color. It will not automate the result. Is there any other way in doing this with reference to my attachment?

    Thank again for your time & effort.

    Regards.

  7. #7
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: AutoSum based on Color

    have you entered the code correctly and/or used it correctly?

  8. #8
    Registered User
    Join Date
    04-07-2010
    Location
    Qatar
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: AutoSum based on Color

    Hi royUK,

    Yes, I did it correctly, I copied your formula and paste with mine and change the range and colors as well. I noticed that there is a Macro on it and works perfectly. I decided to use and run the Macro however, I want the result to be placed in each row where there was a serial number in Column A say 4 or whatever. How can I do this?

    Thanks again. Please help I really need this.

    Regards.
    Last edited by QPM; 04-14-2010 at 04:11 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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