+ Reply to Thread
Results 1 to 8 of 8

Sum values based on multiple criterias in a list.

  1. #1
    Registered User
    Join Date
    10-11-2013
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    8

    Sum values based on multiple criterias in a list.

    Hi,

    Id be pleased if someone could help me with a sum function. This might be easy, but I just cant wrap my head around it.

    I have a list of uniqe IDs. To each ID there is multiple values based on the header, ie. "10", "20", "30".

    So for example, i want to SUM only "10", "20" and "30" for "0101 Halden", as this are the ones named in the "Cost list".
    I could do it manually, but eventually there will be different combinations with many numbers in the list.

    Hopefully i've managed to explain what Im looking for. Thanks

    L.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Sum values based on multiple criterias in a list.

    Hi,

    a possible formula

    in C13 and down


    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Regards
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  3. #3
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Sum values based on multiple criterias in a list.

    Hi again

    in C13 same values from:


    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Hope it helps

  4. #4
    Registered User
    Join Date
    10-11-2013
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Sum values based on multiple criterias in a list.

    Hi, thanks for a quick answer.

    There might be a chance that Im not understanding your formula.
    But as far as I can see, it only add together those under "10". I want it to sum all values that are in the list called "Cost (list)". That means i want it to sum "10", "20" and "30" also.

  5. #5
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Sum values based on multiple criterias in a list.

    Hi,

    thanks for providing feedback.

    One approach could be:


    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Regards

  6. #6
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Sum values based on multiple criterias in a list.

    Hi again

    same numbers:


    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Maybe it's easier to keep under control OR conditions (E1:DP1=b8,b9,b10)

    Regards

  7. #7
    Registered User
    Join Date
    10-11-2013
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Sum values based on multiple criterias in a list.

    That last one was excatly what I was looking for. You haved saved me from a lot of fumbling around doing manual "labour".
    Thank you very much!

  8. #8
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Sum values based on multiple criterias in a list.

    Ciao,

    You're welcome and thanks for providing feedback.

    Cheers

+ 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. [SOLVED] Count unique values based multiple criterias
    By Petter120 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-03-2014, 03:07 AM
  2. find top 10 values based on multiple criterias
    By saurabhlotankar in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-27-2014, 01:47 AM
  3. [SOLVED] Populate Values in Multiple List Boxes based on Multiple Criterias
    By s2jrchoi in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 09-09-2013, 11:39 AM
  4. Macros to update cell values based on multiple criterias
    By ccernat in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-22-2012, 03:25 AM
  5. Replies: 4
    Last Post: 01-31-2012, 04: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