Hello all, I have some data in my Excel file that is formatted like this (the actual file is much larger but follows this exact format with an empty row in between each of the "Items"). See attachment for a clearer format.
Customer1 Customer2 Customer3
Item1 (like/no pref/dislike) Like Like Dislike
Amount of Item1 bought 27 5 1
Item2 (like/no pref/dislike) No pref Like Dislike
Amount of Item2 bought 5 5 2
Item3 (like/no pref/dislike) Dislike No pref Like
Amount of Item3 bought 9 1 17
Is there any formula or macro that would be able to output this into a database friendly format? What I want is to have the customer name in the first column, the item name in the second column, whether or not the customer liked/disliked or had no preference to the item in the third column and finally how many of the item they bought in the fourth column so it would look something like this.
Customer Name Item Like/no pref/dislike Amount bought
Customer1 Item1 Like 27
Customer1 Item2 No pref 5
Customer1 Item3 Dislike 9
Customer2 Item1 Like 5
Customer2 Item2 Like 5
Customer2 Item3 No pref 1
Customer3 Item1 Dislike 1
Customer3 Item2 Dislike 2
Customer3 Item3 Like 17
I am familiar with the OFFSET function but couldn't think of a way for it to work here so it seems like this would have to be a macro although I would prefer a formula. But if there is no formula possible for this, I will repost in the VBA/Macro section. Any help at all would be appreciated!
Bookmarks