Formula to pull data from named ranges in multiple workbooks

KM1234

New Member
Joined
Apr 20, 2011
Messages
2
Hi

I am looking for some help with using named ranges across multiple workbooks, as this is the first time I have used named ranges.

I have a summary workbook which pulls data from 3 other workbooks.

In workbooks 1-3 I have defined named ranges.
In the summary workbook I have used a simple SUMIF formula, which takes data from the 3 spreadsheets and adds it together. My formula is therefore:

=SUMIF('Workbook1.xls'!ClientRange1,$B213,'Workbook1.xls'!DeferredRange1)
+SUMIF('Workbook2.xls'!ClientRange2,$B213,'Workbook2.xls'!DeferredRange2)
+SUMIF('Workbook3.xls'!ClientRange3,$B213,'Workbook3.xls'!DeferredRange3)

This works fine when Workbooks1-3 are open, but when they are closed I get #VALUE! errors. Does anyone know of a way round this, while still keeping the ranges?

I am using Excel 2003.

Thank you
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Does this work?

=SUMPRODUCT(--('Workbook1.xls'!ClientRange1=$B213),'Workbook1.xls'!DeferredRange1)
+SUMPRODUCT(--('Workbook2.xls'!ClientRange2=$B213),'Workbook2.xls'!DeferredRange2)
+SUMPRODUCT(--('Workbook3.xls'!ClientRange3=$B213),'Workbook3.xls'!DeferredRange3)
 
Upvote 0

Forum statistics

Threads
1,224,514
Messages
6,179,219
Members
452,895
Latest member
BILLING GUY

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