re-organising a table of data

  • Thread starter Thread starter Tim
  • Start date Start date
T

Tim

Can anyone help me generate code to automatically transfer this: -

MATERIAL Storage Orange Apple
flour Ambient x x
Water Variable x x
Yeast Refrigerated x x
Salt Variable x x
fats Ambient x
Vinegar Ambient x
Cereals Ambient x
extracts Ambient x


to this (in this case for the 'Apple' column): -

Ambient Refrigerated Variable
===== ======== ======
Flour Yeast Water
Vinegar Salt

ie, on a different sheet, the different storage states become header rows
and only the materials with 'x's in the apple column are listed below the
appropriate column. i can achieve this in a pivot table, so maybe that
should be part of the solution (it all forms part of an automated package)?

thanks for any help,

tim
 
sorry - my first table didn't look like a table - hopefully this is more
clear...
MATERIAL Storage Orange Apple
flour Ambient x x
Water Variable x x
Yeast Refrigerated x x
Salt Variable x x
fats Ambient x
Vinegar Ambient x
Cereals Ambient x
extracts Ambient x
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top