Make individual tables from one large data set

I have an excel file with n rows of data.  I need to compile the data onto a separate sheet into n number of tables.  Here is what I mean:

The main data file has three category columns.  I need to do the following:

1. First, look at the unique values in category1
2. For each unique value I need to find the unique values in category2 and then category 3 and sum them up.
3. I need to then build a table on anoter sheet for each of the unique values in category 1.  

Please see the attached sample for the initial data and the resulting tables.


sample.xls
VCUNCGX2Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

hmarcbowerCommented:
Do you have a set list of what will be in the categories?  For example, do you know that Category2 will always be one of "Red" or "Blue"?  Or are these free-text kind of entries?
0
J79123Commented:
It sounds like a pivot table would do this for you pretty easily.
See attached
sample2.xls
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hmarcbowerCommented:
OK, that's pretty awesome.  I obviously need to learn more about pivot tables.... :)
0
VCUNCGX2Author Commented:
J79123,
  That looks like it will solve the problem, but I was curious as to how you got the pivot tables to go horizontal vs. vertical.  Can you tell me how you did that so that I can replicate the pivot table?  I have been unsuccessful at finding that option.
0
VCUNCGX2Author Commented:
Figured it out here.  Thanks for the help on the original request.

http://www.contextures.com/xlPivot02.html
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.