Looks like you need to use a pivot table.
See attached.
I had to copy your data to a new file as I couldn't create the table within yours for some reason.
Cheers
Rob H
Main Topics
Browse All TopicsHi,
I need a VBA which will be using probaly the SubTotal function. Please have a look at the attached file. I have all the data in "Data" sheet. Data sheet contains thousands of data I need a consolidated report on the Result Sheet which will be filtering each ER number from the Column C and will do a subtotal of the filtered result and produce the Total Amt (Col D of Sheet Result).
I am using Excel 2003.
Please let me know if u required any other information on this. Thank you.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I need to have all the line items as i showed in the "Result" sheet. This Result sheet will be work as a batch uploader in my Oracle 11 ! environment.
So far I have spend considerable amount of time and effort to get my data in the "Data" tab in a much clean format. Now this is my last stage to prepare this data consolidated.
Oracle will not be able to pick up the data from the pivot..so we need to produce our output as I showing in Result Sheet.
Your help is appreciated. Thank you.
Business Accounts
Answer for Membership
by: jppintoPosted on 2009-10-30 at 06:07:39ID: 25702517
You can do that with a Pivot Table, like on the attached file. Let me know if it's OK for you.
jppinto
EE