+ Reply to Thread
Results 1 to 5 of 5

Calculating On Time Delivery

  1. #1
    Forum Contributor
    Join Date
    02-23-2014
    Location
    Melbourne
    MS-Off Ver
    Microsoft 365
    Posts
    174

    Calculating On Time Delivery

    Hello Experts
    I have an excel file with couple of customers
    I need formulas to calculate the total number orders no. (There can be more than one row of the same order number, so it can't a sum of the rows)
    How many orders for each customers
    Then I have two date fields Lead time and Actual Delivery Date
    I need a formula that would populate the next column (Status). If the dates in both column match it should say on time, if the delivery date is earlier than the lead time it should say early and if the delivery date is later than the lead time it should say Late.

    A formula to then calculate totals of how many On time, Early and Late and another formula to calculate the percentage

    Thanks and regards
    Rahul
    Attached Files Attached Files

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

    Re: Calculating On Time Delivery

    The array entered formula that yields the number of order numbers per customer is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Note that a unique list of customer names is created in column L by the array entered formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    The count of total orders is given by the formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    As you'll see two order numbers are assigned to both of the customers, this is confirmed in the first pivot table (highlighted in yellow).
    The formula for the status report is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Note: that the numbers to not match because not all orders fall completely into one of the status categories, as confirmed in the second pivot table.
    Note: entries in columns H and I were converted to dates using 'Text to Columns'
    Note: *Array entered formulas are activated by pressing the Ctrl, Shift and Enter keys simultaneously while the cell is in the edit mode.
    Let me 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.

  3. #3
    Forum Contributor
    Join Date
    02-23-2014
    Location
    Melbourne
    MS-Off Ver
    Microsoft 365
    Posts
    174

    Re: Calculating On Time Delivery

    Hi JeteMC
    Thanks for your help
    The two customers with the same order number is a data entry error, they all belong to Big.
    Yes, just realised the columns that don't have a lead time date populated, show as late when they are not
    Would it be possible to create one more category, for deliveries that don't have a lead time (The lead time column is blank) called Exceptions?
    The total orders and the categories don't add up?

    Is it possible to fix the errors?

    Thanks a lot
    Regards
    Rahul
    Attached Images Attached Images

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

    Re: Calculating On Time Delivery

    Since the orders belong to Big the following will need to be corrected:
    1) There are 16 entries for order #235067, 10 of which are assigned to Ray.
    2) There are 8 entries for order #235465, 3 of which are assigned to Ray.
    When the data entry errors are corrected I believe that the orders by customer will equal total orders.
    I have changed the formula for Status to:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This does change the category numbers, however there are still orders where different entries have different statuses, such as #236280 where 3 entries are early and 3 entries are exceptions. To my way of thinking the logic for which status to assign to those cases will need to be worked out before a formula can be attempted.
    Let us know if you have any questions.

  5. #5
    Forum Contributor
    Join Date
    02-23-2014
    Location
    Melbourne
    MS-Off Ver
    Microsoft 365
    Posts
    174

    Re: Calculating On Time Delivery

    Hi JeteMc
    I have corrected the data entry errors and yes the orders by customers add up
    Thanks for the change for the Status
    I need to work out the logic for the status, I do have some orders some being shipped on time and one late
    It's creating problems. Need to think

    Thanks for your help so far
    Its amazing

    Regards
    Rahul

    ps: I will come back to you on this once I figure out what I need to do

+ 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. Calculating Cases delivery
    By davi65 in forum Excel General
    Replies: 14
    Last Post: 10-30-2016, 05:11 PM
  2. Calculating Next Delivery Date Based on Conditions
    By MollyLou15 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-01-2015, 04:06 PM
  3. Replies: 2
    Last Post: 06-05-2013, 12:14 PM
  4. [SOLVED] On Time Delivery subtracting hold time
    By david1987 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-12-2012, 08:25 AM
  5. Calculating between two date/timestamps for service delivery
    By andrewjend in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-15-2011, 01:28 PM
  6. Calculating $/hr (delivery driver)
    By oliveman6 in forum Excel General
    Replies: 3
    Last Post: 01-01-2010, 03:30 AM
  7. Supplier on time delivery
    By Tom in forum Excel General
    Replies: 1
    Last Post: 03-11-2005, 05:06 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