Hi guys,
First time posting, long time lurker.
I've tried doing this through pivots and looked through a bunch of threads but I can't seem to find a solution and was hoping someone could help me out.
I have a set of items with multiple subtypes and each subtype has specific product IDs assigned to them with percentage of sales on them.
Product Name Subtype Name PID % of sales credit
Product1 Subtype1 PID1 0.2
Product1 Subtype1 PID2 0.3
Product1 Subtype1 PID3 0.3
Product1 Subtype2 PID4 0.1
Product1 Subtype2 PID5 0.1
Product 2 Subtype3 PID6 0.2
Product 2 Subtype3 PID7 0.3
Product 2 Subtype4 PID8 0.2
Product 2 Subtype4 PID9 0.3
Product3 Subtype5 PID10 0.15
Product3 Subtype5 PID11 0.15
Product3 Subtype5 PID12 0.2
Product3 Subtype6 PID13 0.15
Product3 Subtype6 PID14 0.2
Product3 Subtype6 PID15 0.15
I'm trying to consolidate the information a more compressed version, transposing the multiple columns into a single row for each item-subtype.
Product Name Subtype Name PID % of sales credit PID % of sales credit PID % of sales credit
Product 1 Subtype1 PID1 0.2 PID2 0.3 PID3 0.3
Product1 Subtype2 PID4 0.1 PID5 0.1
Product 2 Subtype3 PID6 0.2 PID7 0.3
Product 2 Subtype4 PID8 0.2 PID9 0.3
Product3 Subtype5 PID10 0.15 PID11 0.15 PID12 0.2
Product3 Subtype6 PID13 0.15 PID14 0.2 PID15 0.15
Bookmarks