Why no container 3 for Ship A in your expected outcome?
On the assumption that the above was a typo, see if this gives the correct output.
Note that these are both array formulas, so must be entered and confirmed as per the instructions below, otherwise they will not work.
In G15, fill down until blankIn H15, fill down until blank
...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
Bookmarks