+ Reply to Thread
Results 1 to 5 of 5

Sale Order Fulfillment Date To Be Captured

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    01-07-2012
    Location
    Bangalore
    MS-Off Ver
    Office 365
    Posts
    368

    Sale Order Fulfillment Date To Be Captured

    Dear Friends,

    In the Attached Excel File….

    Column A Contains “Product” Code

    Column B Contains Sale “Order” Reference

    Column C Contains Sale “Order Qty”

    Column F – There is a Table which contains day wise production Output details…

    Support Required: -

    Column D “Order Completion Date”

    Cumulative Sale Order Qty Vs. Cumulative Production Schedule Qty which date gets >=0, That date should be captured in Column D

    Even after considering, complete cumulative production schedule qty, If the Order qty not getting fulfilled, that line should be highlighted as “Shortage”

    Note:
    1. With my limited Knowledge, I could achieve this by doing some sorting of column and creating additional Rows, Column with cumulative qty and achieve this…
    2. But I would like to achieve subjected requirement with a Single Formula in Column D

    Thanks & Regards,
    Rajeshkumar R
    Attached Files Attached Files
    Last edited by Rajeshkumar R; 02-27-2022 at 02:40 AM. Reason: Query Resolved

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Sale Order Fulfillment Date To Be Captured

    One way:

    =LET(r,COLUMN($I$17:$AM$117),N,$H$18:$H$22,St,$I$18:$I$22,Mi,MIN(IF(SUBTOTAL(9,OFFSET(INDEX(St,MATCH(A3,N,0)),0,0,1,r-MIN(r)+1))>=SUMIF(A$3:A3,A3,C$3:C3),r)),IF(Mi=0,"Shortage",INDEX($17:$17,Mi)))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365
    Posts
    3,187

    Re: Sale Order Fulfillment Date To Be Captured

    Hi,

    see attached.

    D3 and down:


    =IFERROR(INDEX($G$17:$AK$17,,MATCH(1,(--((SUBTOTAL(9,OFFSET(INDEX($F$18:$F$22,MATCH($A3,$F$18:$F$22,0)):INDEX($F$18:$F$22,MATCH(A3,$F$18:$F$22,0)),,,,COLUMN($G$1:$AK$10)-6)))>=SUMIF($A$3:$A3,A3,$C$3:$C3))),0)-1),"SHORTAGE")
    Attached Files Attached Files

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: Sale Order Fulfillment Date To Be Captured

    Please try

    =LET(p,A$3:A3,q,C$3:C3,ps,$F$18:$F$22,qs,$G$18:$AK$22,d,$G$17:$AK$17,pl,INDEX(p,ROWS(p)),ql,SUMIFS(q,p,pl),
    XLOOKUP(ql,MMULT(INDEX(qs,MATCH(pl,ps,),),--(d>=TRANSPOSE(d))),d,"Shortage",1))

    or Spill with LAMBDA

    =LET(p,A3:A16,q,C3:C16,ps,F18:F22,qs,G18:AK22,d,G17:AK17,r,SEQUENCE(ROWS(p)),c,MIN(COLUMN(qs)),
    qa,SCAN(0,qs,LAMBDA(i,v,IF(COLUMN(v)=c,v,i+v))),qo,MMULT((p=TRANSPOSE(p))*(r>=TRANSPOSE(r)),q),
    by,BYROW(r,LAMBDA(x,XLOOKUP(INDEX(qo,x),FILTER(qa,ps=INDEX(p,x)),d,"Shortage",1))),by)
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    01-07-2012
    Location
    Bangalore
    MS-Off Ver
    Office 365
    Posts
    368

    Re: Sale Order Fulfillment Date To Be Captured

    Dear Glenn Kennedy, belinda200, Bo_Ry,

    Thanks a lot for your immediate suggestion and support, all suggestion working amazingly…

    And I learnt some new logic as well with your suggestion…

    Thanks & Regards,
    Rajeshkumar R

+ 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] Skus and order sale lines total quantity within pivot table
    By kshum1983 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-22-2021, 11:19 AM
  2. Function to order fulfillment
    By fefo32br in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-29-2020, 07:09 AM
  3. Order Fulfillment Report - Multiple Items on Separate Lines
    By smutch80 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 04-23-2020, 10:05 PM
  4. Identify Sale Order within each Division & Group
    By Ucpaul in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-18-2013, 04:51 PM
  5. [SOLVED] define exact number of products sale from multiple sale and returned sale orders
    By maabadi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-05-2012, 06:14 AM
  6. Replies: 1
    Last Post: 01-30-2006, 05:10 PM
  7. how to make an order form for a Flower sale?
    By Avanti007 in forum Excel General
    Replies: 2
    Last Post: 01-09-2005, 10:06 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