I added -1 to formula because if order was processed on the same day the result should be 0.
OK but row 12 is not processed on the same day. Why are we subtracting 1 in those cases?
I did not use OFFSET in this formula. While it returns what you indicate I am a bit confused about subtracting in the other cases.
Edit Also try subtracting 1 from the MATCH in the OFFSET formula
=NETWORKDAYS.INTL(B2,C2,1,OFFSET('Holiday List'!$A$1:$C$18,1,MATCH(VLOOKUP(A2,'Days in process'!$J$2:$K$7,2,FALSE),'Holiday List'!$A$1:$C$1,0)-1))-1
It will return the same numbers you are looking for now.
Bookmarks