Originally Posted by
dkersten
I have data with 2 variables, and a result, organized in 3 columns, and I want a 2 dimensional matrix from this.
Column 1 is a product category 1-999.
Column 2 is a Customer Type A1-Z9
Column 3 is a discount percent.
I want Column 1 to be a Product Category, and Row 1 to be a Customer Type and the resulting data in the appropriate location. Any ideas?
ie:
from:
100 A1 .50
100 A2 .50
100 B1 .45
100 B2 .43
100 C1 .40
100 C2 .40
101 A1 .55
etc...
to:
____A1 _A2 _B1 _B2 _C1 _C2
100 .50 .50 .45 .43 .40 .40
101 .55 .53 .51 .47 .41 .39
(not lined up well here but you get the gist i hope)
etc...
Thanks
Dave
Bookmarks