+ Reply to Thread
Results 1 to 5 of 5

Sum the quantities of items in a given period

  1. #1
    Registered User
    Join Date
    06-17-2019
    Location
    Denmark
    MS-Off Ver
    2016
    Posts
    15

    Sum the quantities of items in a given period

    Hello, folks. I have a problem you might be able to help me with. I have a sheet with multiple sales order lines. I have three columns:

    Column A: Item number
    Column B: Month (1, 2, ... 11, 12)
    Column C: Quantity

    There can be several lines for each item number in the same month, so I want an extra column, D, where, if there are duplicate item numbers in column A, the quantities are summed IF they are also in the same month, and if not, leave a 0. From there I know how to make a fifth column where I can retrieve the summed quantities, or the original quantities if there is a 0.

    I have tried messing around with some IF, IFS, SUM and SUMIFS formulas, but I can't seem to make it work. How do I do this?

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,153

    Re: Sum the quantities of items in a given period

    There are instructions at the top of the page explaining how to attach your sample workbook.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,153

    Re: Sum the quantities of items in a given period

    Just waiting for your sample workbook ...

  4. #4
    Registered User
    Join Date
    06-17-2019
    Location
    Denmark
    MS-Off Ver
    2016
    Posts
    15

    Re: Sum the quantities of items in a given period

    Thanks for wanting to help me, but I managed to figure it out by myself
    Last edited by AliGW; 05-25-2022 at 05:11 AM. Reason: PLEASE don't quote unnecessarily!

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,153

    Re: Sum the quantities of items in a given period

    OK - then for everyone's benfit, please post the solution you found here.

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

+ 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 totaling quantities of items that repeat in the same list
    By JJHess in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-19-2022, 09:14 PM
  2. A formula to list my top 50 highest items and their quantities
    By tshepolt in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-31-2017, 09:25 AM
  3. Replies: 4
    Last Post: 08-31-2015, 11:46 PM
  4. sum items quantities from different sheets
    By Vidas in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-08-2014, 03:34 AM
  5. Individually list grouped items / quantities
    By Danexcel in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-05-2010, 12:43 PM
  6. Calculating totals for items with associated quantities over multiple rows
    By drewship in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-04-2009, 01:26 PM
  7. [SOLVED] How do I combine quantities of similar line items
    By Joshua Hullender in forum Excel General
    Replies: 2
    Last Post: 01-03-2006, 07:45 PM

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