Can I sum across closed worksheets ?

Hollywoood

Board Regular
Joined
Aug 11, 2011
Messages
53
Hi all,

I am trying to create a template to be used for several dozen separate profiles. I would then like to be able to create a master file that sources and sums across all of the separate work sheets that are saved in a specific folder without having to have all of them open.

Is there an easy enough way to do this?

So in general id like to be able to do something along the lines of...

sum(c:\files,A1) with the gaol being to retrieve and sum every A1 cell of every worksheet in that folder...

Thanks in advance for any help!
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
So in general id like to be able to do something along the lines of...

sum(c:\files,A1) with the gaol being to retrieve and sum every A1 cell of every worksheet in that folder...

No, you can't reference all files in a folder that way using ordinary formula functions.

The simplest way to do this without the use VBA code would be to make a table listing each file's value and sum them. The fact that files are closed will not prevent you from reading their current values.

Excel Workbook
AB
1Book110
2Book210
3Book330
4Sum50
Sheet1
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,551
Messages
6,179,476
Members
452,915
Latest member
hannnahheileen

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