Summing data from different workbook with multiple worksheets

kway2004

New Member
Joined
Mar 29, 2016
Messages
7
I have a workbook (workbook1) to track hours. In this workbook are multiple worksheets for the different months. Each worksheet will have multiple dates with multiple clients and the hours work for them. The name of workbook1 does not change.

In a separate workbook (workbook2) I am tracking the cost for the project. This workbook has multiple worksheets for the different months.

Based on the workbook2, client name and current month, I want to search workbook1 for the correct worksheet and sum up the hours worked for that client (column to sum do not change)

Thus I have this formula =SUMIF('[workbook1.xlsx]May-2018'!$C$8:$C$60,'[workbook2.xlsx]Summary'!$B$1,'[workbook1.xlsx]May-2018'!$I$8:$I$60)

I want to replace May-2018 in the above formula with information from workbook2 cell that matches the worksheet name in workbook1.

Thank you for your assistance
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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