+ Reply to Thread
Results 1 to 4 of 4

Sum cells if certain color

  1. #1
    Registered User
    Join Date
    07-05-2012
    Location
    New Jersey, US
    MS-Off Ver
    Excel 2010
    Posts
    57

    Sum cells if certain color

    Hi i need a function or macro so that I can sum or average cells if they are a certain color. I have no idea how to do this so any help is appreciated!

    Thank you!

    Rob

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

    Re: Sum cells if certain color

    Does this help?

    This sum by color and minimum value (if you don't need it you can remove it from the code or just put some very small number as -9.99999E-307
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-05-2012
    Location
    New Jersey, US
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: Sum cells if certain color

    Sorry that didn't work. I think I need a macro of some sort

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

    Re: Sum cells if certain color

    How do you mean it doesn't work?

    Please Login or Register  to view this content.
    ANd use just function: =SumByColor(A1, E2:J10)
    where A1 is defined cell with your desired color
    and rest is range
    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)

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