(Repost) new order of table

D

Dan

Is there a way to rearange a table with 3 columns
from:

Class Topic Name
A English Marc
B Math Dan
C Math Lisa
A English Jhon
A Math Dave
B History Ling

To:

English Math History
A Marc Dave
Jhon
B Dan Ling
C Lisa


Any idea?
Many thanks,
Dan
 
D

Dan

Pivot table give me a count or a sum not a list of data - it can give me a
list of data for one intersection at a time for not for all the table.
Thanks.
Dan
 
S

Sam Wilson

In that case you'll have to write a macro with two loops - the first loop to
make an array of unique names from column A, the second to do the same from
column B. Then deploy these to the grid, and create a third loop which goes
through Colun C and adds the text to the relevant cell in this grid,
 

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

Top