Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

Transform data in matrix

Dear all,

I have a table of data in excel as below, could you please advise how can I transform data as expected for analysis.

Thanks for your support!

Look forward to hearing from you soon.

 

Original data: group of 3 by product, owner and size. Some cases owner are 2 people.

 Jan   Feb   Mar    
FactoryW1W2W3W4W5W6W7W8W9W10W11W12W13
South Factory Table  Table  Chair  Table  
  Jack&Joe  Joe  Jack  Jessica&Jack 
  Small  Small  Large  Large  
   Chair  Table  Chair  Table 
   Joe  Jessica&Carol Jessica  Marry 
   Large  Large  Large  Small 
North Factory   Chair        Chair
    Carol        Joe&Marry
    Small        Large

I have data about size and list of owner:

OwnerSize
JackSmall
JoeLarge
Carol 
Jessica 
Marry 
Jack 

 

Please advise how can I get data as below:

FactoryMonthWeekProductOwnerSize
South FactoryJanW2TableJack&JoeSmall
South FactoryJanW3ChairJoeLarge
North FactoryJanW4ChairCarolSmall
South FactoryFebW5TableJackSmall
South FactoryFebW6TableJessica&CarolLarge
South Factory W8ChairJackLarge

 

6 Replies