+ Reply to Thread
Results 1 to 2 of 2

Sum up quantity based on booking reference and dates of different weeks/months

  1. #1
    Forum Contributor
    Join Date
    12-06-2013
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2016
    Posts
    611

    Question Sum up quantity based on booking reference and dates of different weeks/months

    Hi Experts,

    The attached work sheet summarizes information from "data sheet" to the "summary sheet". Text data are summarizes as it is, however, the "order qty" should be summarized based on "booking reference" and the "ex factory date". The formula for this qty calculation should consider "Booking reference" and also "ex factory dates". For example, for a particular booking reference, if TWO qtys appear under the SAME EX FACTORY date, those two qty should be added together and show up on the summary sheet, and also, if the same booking reference has another qty under a different ex factory date, it should also show up on the summary sheet separately.

    The given below is the actual scenario;

    The style swrmg1295 has 9 delivery splits (as shown in "data sheet")

    My requirement is to get the SUM of the quantities based on BOOKING REFERENCE and also EX FACTORY DATE.

    For example, for Booking reference swrmg1295, the 12th May qty that should appear on 'summary sheet' should be 19992.
    However, the summary sheet shows 119952, which is the total qty of the style (which has spread in different ex factory dates)

    Ideally this should appear on the summary sheet as follows;

    12 May - 19992
    19 May - 19992
    26 May - 19872
    2 Jun - 10008
    23 Jun - 20064 (this has two quantities on the same date), 10032+10032)
    30 Jun - 10008
    7 July - 10032
    21 July -9984

    In other words, the same booking reference can appear as many as different ex factory dates exists. However,in case two or three or more quantities exist under the SAME EX FACTORY date, those should be summed up into ONE entry (row)

    Pls help to get this solved...

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,732

    Re: Sum up quantity based on booking reference and dates of different weeks/months

    Try the following formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Booking Roll-Off Schedule With Variable # of Months
    By excel-help in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-01-2016, 01:40 PM
  2. RD calculation based on No.of weeks,days,months,years
    By santbiju in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-05-2016, 05:38 PM
  3. RD calculation based on No.of weeks,days,months,years
    By santbiju in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-05-2016, 07:40 AM
  4. [SOLVED] Add additional days/weeks/months based on user input
    By pauldaddyadams in forum Excel General
    Replies: 3
    Last Post: 12-09-2015, 01:29 PM
  5. [SOLVED] Trying to calculate the number of months AND weeks between two dates..
    By DigitalWavez in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-01-2014, 04:43 PM
  6. Dividing monthly values into weeks automatically (some months have 5 weeks)
    By massimoo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-07-2012, 03:20 AM
  7. How to spread out data based on dates and weeks.
    By c991257 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-24-2006, 10:45 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