+ Reply to Thread
Results 1 to 4 of 4

Sum values belonging to the same group

Hybrid View

  1. #1
    Registered User
    Join Date
    05-07-2012
    Location
    Milan, Italy
    MS-Off Ver
    Excel 2003
    Posts
    33

    Sum values belonging to the same group

    Hello

    I have to perform the sum of some values. In particular I want to sum only values that belongs to the same group (indicated by a value in a column) (see the attached file).
    Do you know how can I do it avoiding the pivots?

    Thanks


    Attachment 324006

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Sum values belonging to the same group

    Hi,

    With your group ID references in E2:E4, in F2 copied down

    Formula: copy to clipboard
    =SUMIF(B2:B7,E2,C2:C7)


    Incidentally, don't dismiss pivot tables just because maybe you don't really understand them or find them difficult. They are extremely powerful and efficient.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    05-07-2012
    Location
    Milan, Italy
    MS-Off Ver
    Excel 2003
    Posts
    33

    Re: Sum values belonging to the same group

    it does not work

    Could you check it?

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Sum values belonging to the same group

    See attached
    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. How to concatenate values belonging to same text group?
    By daksh1981 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-14-2014, 11:07 AM
  2. Separating information belonging to an individual
    By Voodoodan in forum Excel General
    Replies: 1
    Last Post: 09-04-2013, 10:47 AM
  3. Lookup jobs belonging to a given client
    By Cidona in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 01-17-2012, 06:13 PM
  4. Belonging Row is not clear in Code
    By Julian Schubert in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 07-06-2011, 09:23 AM
  5. data range belonging
    By s82938 in forum Excel General
    Replies: 0
    Last Post: 08-26-2010, 09:56 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