Hallo. I have this data set with SKU, dates, purchase quantity, and a price per unit. Attached in first tab on left.
I want to be able to create an output with these rules but I don't know how to do it.
Rules and Output:
I want one row per sku (in the data set, there is one row per purchase date, per sku).
If there is one purchase date for a sku, then that row can just be presented as is.
If there are more than purchase dates for a sku AND the average price is the same, then I just need one row that sums quantity and keeps average price the same.
If there are more than one purchase date for a sku, AND the average prices are different, then I want those separated in THE COLUMNS. So it would be like this
SKU, Purchase Quantity, Price per unit, purchase quantity, price per unit, etc (the dates don't need to be specified but it does need to be in order of date.
Bookmarks