I would like to be able to collapse all detail sales transaction rows by
value in right most product code column. I have sorted detail sales
transactions by product code column. If I have 1000 transactions for 20
products, I would like to collapse to 20 rows based on the unique product
code value in the right most column.

When I use Grouping & Outlining, Excel collapses the entire table to 1 row.
thanks for any guidance