I am looking to modify the following code that was provided here so that it can span two sheets (Order Entry and Custom) instead of just one. Information was broken out to the custom tab and I do not understand it enough to alter it. Example sheet attached.
B2: =SUMPRODUCT(--(INT('Order Entry'!$B$2:$B$37)=Summary!$A2) )
C2: =SUMPRODUCT( (INT('Order Entry'!$B$2:$B$37)=Summary!$A2) * 'Order Entry'!$A$2:$A$37) / Summary!B2
D2: =MIN(IF(INT('Order Entry'!$B$2:$B$37)=Summary!$A2, 'Order Entry'!$A$2:$A$37))
E2: =MAX(IF(INT('Order Entry'!$B$2:$B$37)=Summary!$A2, 'Order Entry'!$A$2:$A$37))
The overall picture is an order tracking sheet that has start times in column B, end times in column C, number of jobs in an order number in column D and the processing time in column A. On the Summary sheet I have dates listed for each workday. Next to these dates I am wanting a formula that will traverse through column B of the Custom and Order Entry sheets and provide the number of orders and average processing time that match this. There can be multiple jobs per order number so it needs to order the Sumproduct by column D for each.
Bookmarks