I would like to find Min and Max of Quantity (Column 2) based on Type (coloumn
I would suggest to use =large(if(...=...;...);k) to solve that problem.
=large(if(...=...;...);k)