+ Reply to Thread
Results 1 to 5 of 5

Multiple sumifs with variable conditions

  1. #1
    Registered User
    Join Date
    10-24-2017
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    4

    Multiple sumifs with variable conditions

    Hey,

    I have a problem I can't solve.
    I have a spreadsheet with Data from our warehousing software.

    A product has stock in multiple locations, it can be 1 but it can be 6 locations as well.
    For each location there is a line with the article number an the stock at the location.
    I now need to get the overall sums of each article.

    List looks like this:

    A | 2
    A | 3
    B | 1
    B | 2
    B | 3
    B | 2
    C | 0
    C | 1

    What I want is:

    A | 2 | 5
    A | 3 | 5
    B | 1 | 8
    B | 2 | 8
    B | 3 | 8
    B | 2 | 8
    C | 0 | 1
    C | 1 | 1

    I hope you guys can help me out :-)

  2. #2
    Forum Contributor shivya's Avatar
    Join Date
    08-19-2017
    Location
    Delhi, India
    MS-Off Ver
    2013
    Posts
    240

    Re: Multiple sumifs with variable conditions

    I couldn't understand what you want exactly, Please attach your worksheet
    To attach worksheet Go advanced -> Manage attachments -> Choose file -> Upload
    Don't forget to Mention your desired result in the sheet..
    There should be sample data only, a lot of data creates confusion.

    Thanks & Regards

    Shivya

    http://excelvbatipsforbeginners.blogspot.in/

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Multiple sumifs with variable conditions

    Hello and welcome to the forum.

    Assuming that your data is in columns A and B starting in row 1, in C1, try this:

    =SUMIF(A:A,A1,B:B)

  4. #4
    Registered User
    Join Date
    10-24-2017
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    4

    Re: Multiple sumifs with variable conditions

    thanks falcondude, that did the trick!

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Multiple sumifs with variable conditions

    You're welcome.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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] VBA - SumIfs multiple conditions in array
    By SoulPrisoner in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-18-2016, 05:26 PM
  2. sumifs with multiple conditions
    By cpg_123 in forum Excel General
    Replies: 9
    Last Post: 07-20-2016, 01:31 PM
  3. SUMIFS with multiple conditions
    By AadVissers in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-21-2016, 12:22 PM
  4. Sumifs multiple conditions
    By ksmith21 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-16-2015, 06:12 AM
  5. [SOLVED] SUMIFS with multiple conditions Formula
    By rz6657 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-09-2015, 03:13 PM
  6. [SOLVED] Sumifs or Sumproduct With Multiple Conditions Help Please!
    By geepee in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-01-2013, 09:27 AM
  7. sumifs multiple conditions stuck
    By kieranbop in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-31-2011, 07:13 AM

Tags for this Thread

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