Lookup, Match, and Sum Data from Multiple Workbooks

Capt Call

New Member
Joined
Jan 20, 2016
Messages
3
Greeting Professionals,

This will be my first of many posts on this forum. I have searched and used many of your solutions over the past few weeks and they have all been helpful!
The preface here is that I am a novice with formulas and am just now getting my feet wet.

Scenario:
In one workbook I have a drop-down list of clients residing in Cell CV4. I also have the selected client name copied the cell below CV5.
In Column CU (beginning at cell CU7) I have a list of Months.
I also have reports from individual dispatchers in separate Workbooks (each dispatcher report is formatted identically).
In the dispatcher report I track sales by client by month.

Task:
I need to enable the first Workbook to sum total sales by client across all dispatcher reports according to the selected client name from the drop-down selection.

I tried to include attachments of the Workbooks, but am not allowed to attach files.

I would like to formally thank any and all of you in advance for any help you can provide!
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
In order to reference other reports/pages/tabs/worksheets, you need to have the name of the sheet.
All the info you want extracted would need to be within the formulas, you just need to be more specific.

Is that list of Months, just Jan.-Dec. or does it include the years along with it...?

It sounds like a link would work good...

If you go back to the forum pages, and click on the top choice mentioning add-ins, it gives you a variety of things to do...

http://www.mrexcel.com/forum/excel-questions/628649-recommended-add-ins-links.html
 
Upvote 0
Thank You Chrisdontm for your help and suggestions. Below, I will try to provide more explanation.

I am working in the below file. In cells CV4, CW4, and CX4 I have created a drop-down list of Client names.
The chosen name from each drop-down selection is copied into CV5, CW5, and CX5 respectively.
In Column CU (beginning at CU7) I have a list of months.

CUCVCWCX
1
2
3
4"Drop-Down Client List""Drop-Down Client List""Drop-Down Client List"
5"Copied Selection""Copied Selection""Copied Selection"
6
711/30/2015
812/31/2015
91/31/2016
102/29/2016
113/31/2016
124/30/2016
135/31/2016

<tbody>
</tbody>

My goal is to find the results from other Worbooks. For each of my employees, I have a workbooks that track their individual sales by client.
These Data Source Workbooks consist of identical layouts, but Row 8 in each will have different series of "Client Name"

Data Source Layout Example:

UVWXYZAAAB
8"Client Name""Client Name""Client Name""Client Name""Client Name""Client Name"
911/30/20151818695
1012/31/2015569504
111/31/201619401512
122/29/201694615810
133/31/201601055450
144/30/2016551459715
155/31/20166605225
166/30/2016342351

<tbody>
</tbody>


Task: When specific "Client Name" is selected in on of the Drop-down lists in first Workbook (cell CV4, CX4, and/or CW4), I need to query all of the Data Source Workbooks for sales by "Client Name" and populate the sum in the corresponding cells according to date (beginning with CV7, CX7, and/or CX7 respectively).

I hope this helps with the clarity.
Thank you all in advance for your help on this.
 
Upvote 0
Two questions;
Why do you copy the drop down, one line below the drop down?
and,
When you say "Source Workbook", you are referring to a different document, not just another sheet, or tab, within your workbook, right....?
In order to reference another workbook or worksheet, we would need to know the name of the workbook/worksheet...
Also, when referencing another workbook, it has to be open for the formula to update.

If that is the case, you could have a different worksheet within your Main workbook for each employee, and link their records to your sheet.
Then on your main page have your formulas refer to the tab within your workbook...
 
Upvote 0
Chrisdontm,

Thank You again for the help.

Question 1:
Why do you copy the drop down, one line below the drop down?

There is no particular reason that I do this other than to have a cell with a result instead of a dynamic selection. I thought this would make it easier to format a formula.I can remove this if necessary.

Question 2:
When you say "Source Workbook", you are referring to a different document, not just another sheet, or tab, within your workbook, right....?

The "Source Workbooks" are Excel Workbooks that I am using. I have one Workbook for each dispatcher. In other areas of my "Results Workbook", I reference these exact "Source Workbooks" without any problem and they don't have to be open for the formulas to update correctly.
Here is an example of an external reference formula I have been using with success.
='C:\Users\Deron\Dropbox\HCC Reports\Corp. Relo. Delivered Totals\Robert Powell\[Robert P._C.R.Delivered Running Total.xlsx]Sheet1'!R9

I'm just having trouble figuring out what type of formula and math I need to accomplish the result.

Thanks again for your patience and help.
 
Upvote 0
Capt Call,

As for the line below the drop down, it doesn't matter whether you keep it or not. Actually once you reference it to the drop down, then it becomes dynamic as well...

Also, the reason I said the Workbook has to be open is because the formula I was using to try and make it work is the INDIRECT formula.
It looks at a text and uses it as part of a the creation of a reference/formula.
When using it, it doesn't seem to work if the other workbook is closed.

But true, if you have a straight forward formula linking to another workbook it doesn't have to be open.
So is there a way to have a tab within your main workbook linked to each workbook, and then you can link to those tabs rather easily...
That's all I can think of to get you there. ( Sorry if this was all a disappointment )

I too am open for any suggestions...
 
Upvote 0

Forum statistics

Threads
1,215,513
Messages
6,125,253
Members
449,219
Latest member
daynle

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