AVERAGE Across Multiple excel files

hareendra

New Member
Joined
Feb 24, 2016
Messages
3
I am working on my company project to calculate average of daily production efficiency maintain in excel template. Each day create new file with the day and enters the data and calculate the efficiency using same template.
The excel file has six sheets call DAY-Line 1, DAY-Line 2, DAY-Line 3 and there are over 300 files with data on it. We need to calculate average efficiency in the past and bring it over to the template to update the efficiency automatically. I found this can be done writing formula as below
=AVERAGE('[Run Rate Chart - 20151201 Tuesday.xlsx]Day - Line 1:Day - Line 3'!$I$52:$I$84) this works fine for each file since I have 300 files it is very time consuming go to each files names to write this formula.
I got all the names writing formula if I can write some kind of concatenation formula I can get the average dynamically. I tried to write formula
=average (indirect("'"&"[Run Rate Chart - 20151201 Tuesday.xlsx]Day - Line 1:Day - Line 3'!$I$52:$I$84")) to first test whether I can use indirect function to use for the task, but unfortunately it gets #ref error.

Can any one help me to write correct formula for this situation.
Thank you
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,215,427
Messages
6,124,831
Members
449,190
Latest member
rscraig11

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