Consolidating Specific Data from Multiple Excel Forms into a Table/Database/Tabulation

BM604

New Member
Joined
Oct 30, 2014
Messages
15
Template
8KvJ.png

Database (FYI Column C is just a sum of the five channels - alpha, beta, theta, delta, gamma)
8L4R.png


Hello everyone,

I hope you all had a great holidays and are off to a great start on 2015! I would appreciate any help or direction to lead me to my goal. I have tried to do some googling but I haven't found quite what I need. This might require a macro, something I have very little knowledge on. This website has been a great resource over the years for me, and I appreciate anyone who tries to help me out here.

So my brother has started his own business and has been using the "TEMPLATE" to create orders for his company. Every single order is a separate Excel file based on the "TEMPLATE" file. Let's say there are 35 orders so there are 35 Excel files just like "TEMPLATE". I want to combine the data of these 35 files into a single table ("DATABASE").

I have highlighted the three areas of interest in the sheet in yellow. I pretty much want to collect the Quantity/Product/Size out of every Excel file (Rows 32:46). A product is only ordered if the quantity column is filled with a number. I only need to collect the rows of data that have a value in the quantity field. Each Excel file may contain the same or different products listed in these rows (32:46). If it is the same product (PRODUCT/SIZE), then I want them added together if it is in the same channel (Ie. Two seperate West Coast forms that both have three LARGE Rubber Ducky's in the Alpha Channel would show 6 in the DATABASE under the West Coast/Rubber Ducky/Large/Alpha.

Possible Values for the three areas of interest:
Coast Name: (Written at top/middle of TEMPLATE)
West Coast
East Coast

Channel: (Designated by "X" in corresponding box on TEMPLATE)
Alpha
Beta
Theta
Delta
Gamma

I hope I have explained this clearly. My database only shows the tabulation of one form for the West Coast. The East Coast would have to be a separate table or something similar to distinguish the two regions. The database is a place that adds together the combined quantities of all ordered products (Product/Size), separated by the Channel and Region. The way the database looks doesn't matter. It could be a long database looking list, that has columns (Coast, Product, Size, Channel & The most Important Value: Quantity Ordered). I just need the data out of all the forms without doing it manually!

In order to simplify things if it makes it easier for anyone trying to help, I could create a folder called West Coast and a Folder Called East Coast that separates these two region's Excel order forms. Our Macro would only then have to collect the Qty/Product/Size per Channel. I could run this process twice for each Coast. Another simplification is if we combined PRODUCT/SIZE into one field. I could add the size descriptor the product name so product could be: RUBBER DUCKY LARGE and RUBBER DUCKY SMALL. If that makes the creation of a macro easier, I am all for it.

Please let me know if I can clarify or assist with anything. Any guidance or assistance is greatly appreciate by my brother & I.

Thank you so much for reading,
 
Last edited:

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Update: I've been doing some thinking about this and I concluded:

I just need to construct a macro that rips TEMPLATE A32:L46 (Only 3 columns due to merged cells) of many Excel files, and adds the CHANNEL (Alpha/Beta/Theta/Delta/Gamma) to every row in a separate column.

From there I can do a sort to remove values with no quantity. Then I can do subtotal to add all the same products together, per channel, per region! Problem solved!

If anyone can assist me in making this macro, or providing a tutorial of some sort that would be greatly appreciated.

Thanks a lot guys/gals.
 
Last edited:
Upvote 0
I wanted to add that I am using Windows 7 and Excel 2007. Unfortunately I cannot tinker around with any scripts I find until the morning because I only have my little personal 11 inch mac with me with no Excel.

Would consolidating the multiple Excel workbooks into one Excel sheet help my cause at all?
http://www.mrexcel.com/forum/excel-...heet-single-workbook-multiple-worksheets.html

Sorry for all the clutter in this thread but I am just trying to talk myself through it, lol. Hopefully to finally clarify:
(one of these will have an "X")
F9 = Alpha Checkbox
F12 = Beta Checkbox
F15 = Theta Checkbox
F18 = Delta Checkbox
F21 = Gamma Checkbox

Once I have it all in the same workbook I just need to rip Columns A, C, K from rows 32 to 46 (These are all 3 yellow columns beside each other in the TEMPLATE image above, but there are gaps in between the letters because of merged cells) on every single tab.

Once I have all that data, I realized a PivotTable would be the best way to display the data.

Any help please? I will be back in the morning. Thanks again :)

Take care,
 
Upvote 0

Forum statistics

Threads
1,214,864
Messages
6,121,986
Members
449,058
Latest member
oculus

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