How to summarize 52 weeks worth of data into one workbook.

KLWX2250

New Member
Joined
May 15, 2013
Messages
4
Hello everyone,

I am an excel newbie that needs some serious help! I am using Excel 2010 on windows 7 PC. I work for a railroad and one of my coworkers gets data once a week about how many carloads we ship to a certain company. They save each week in its own worksheet so at the end of the year they will have 52 worksheets worth of carload data. What they would like to do is take these 52 worksheets and then combine this data onto one worksheet so they can see all of it going from week 1 to week 52.

Here is what 1 week's worth of data looks like...

8742339434_1ea211b46a_b.jpg


Here is what the 52 week summary page looks like...

8741224097_4a31deb5d5_b.jpg


And here is what the summary page looks like with all of the data on it....

8741224049_af86c15fc5_b.jpg


Although we have compiled all of this data, it was done by copying and pasting data from 52 different worksheets (took some time as you could imagine). So, my coworker asked me if I knew of a faster way to do this. After spending multiple hours on the net researching this and trying a bunch of different options (Data Consolidation, Summary/Array Functions, and varying Macros) I have not been able to produce a worksheet that takes all of the data and displays it like the last picture above. Because I only know the very basics of excel I'm sure I'm probably doing something wrong. Trying to decipher the code for macros hasn't been easy and although I got data consolidation to work it was adding up all of the numbers instead of taking them from one sheet and placing them on another with all of the worksheets' data side by side.

I tried searching around the forums to try and find an answer that worked in this situation but nothing seemed to work after multiple hours of experimentation.

I greatly appreciate any feedback on this issue.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Hi,

I would consolidate your data into a single sheet and then use a pivot table to create a dynamic report

e.g.

Excel Workbook
ABCD
1WeekCompanyCarloads
21Company A15
31Company B5
41Company A4
51Company B7
61Company C12
71Company B9
81Company A5
91Company C10
101Company A2
111Company B13
121Company A8
131Company B10
141Company A12
151Company C4
161Company A6
172Company A12
182Company B4
192Company A7
202Company B9
212Company C14
222Company B16
232Company A23
242Company C7
252Company A4
262Company B13
272Company A9
282Company B10
292Company A12
302Company C4
312Company A2
Sheet1



Excel Workbook
ABC
1Week1
2
3Row LabelsSum of Carloads
4Company A52
5Company B44
6Company C26
7Grand Total122
8
Sheet4


This will allow you to manipulate the data rather than try and search through a huge set of numbers.

Hope this helps,

AP
 
Upvote 0
Hi,

I would consolidate your data into a single sheet and then use a pivot table to create a dynamic report

e.g.

This will allow you to manipulate the data rather than try and search through a huge set of numbers.

Hope this helps,

AP

Although I totally agree with you, it's the consolidation part that I am having trouble with. Since there are 52 tabs (weeks) to get data from it takes forever to copy and paste from each one. So, if you or someone else knows of a way to consolidate all of this data in a timely fashion that would be great. We have to be able to see every week individually on one big worksheet so we can go back and figure out why one week was different than the others.

I appreciate your assistance!

KW
 
Upvote 0
I see your problem. If all your data is the same layout i.e. Company is in B and Carloads in G then a simple macro should read all the sheets and copy it over. I'll write a script for you which should cover it and get back to you.

AP
 
Upvote 0
I see your problem. If all your data is the same layout i.e. Company is in B and Carloads in G then a simple macro should read all the sheets and copy it over. I'll write a script for you which should cover it and get back to you.

AP

That would be very helpful and much appreciated! All of the carload data is as you described with companies on column B and carload data in G. Let me know if you need anything else :)
 
Upvote 0

Forum statistics

Threads
1,223,229
Messages
6,170,881
Members
452,364
Latest member
springate

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top