Min and Max Total Quantity for Product Matrix