Averages from each of multiple sheets

tontondavid10

New Member
Joined
Oct 2, 2017
Messages
6
I have a workbook with 100+ sheets. Each sheet represent a time point. I would like to plot the averages of the values for each time point. This clearly doesn't work by just expanding the table, so is there a solution to this problem?

Secondly, each time point sheet is actually a table of distances between a series of points and every other point in the series. This means I have a table with duplicate values since distances a>b = b>a. So I wanted to calculate the averages for columns of decreasing lengths (A1:A100,B2:B100, C3:C100 ...). Is there an easy way to create this formula in the spreadsheet that doesn't involve manually selecting each column in turn?

Thanks for the help.

David
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
What is the layout of data on each sheet?
What do you mean by "expanding the table"?
A1:A100,B2:B100, C3:C100 ... all have the same "length" (100 rows), are you speaking of the contents of the cells?

If you want the average of the same cell (C4 in this example) in each of the worksheets in the workbook, Name the leftmost sheet "First" and the rightmost sheet "Last" and use this formula: =AVERAGE(First:Last!C4). When adding new sheets insert them between sheets First & Last.

I do not understand what you are asking for in the 2nd paragraph. Please restate.
 
Upvote 0
The table layout is as follows:
2852285328542855285628572859
28511.02862E-057.97471E-052.37859E-059.02477E-061.40836E-055.52129E-054.64055E-05
28527.43481E-051.571E-051.55673E-058.58378E-065.01939E-053.95187E-05
28537.43481E-058.0449E-058.81326E-058.15646E-052.55246E-059.77957E-05
28541.571E-058.0449E-052.4475E-051.08643E-055.81721E-052.47994E-05
28551.55673E-058.81326E-052.4475E-051.40434E-056.33877E-054.35886E-05
28568.58378E-068.15646E-051.08643E-051.40434E-055.7675E-053.24515E-05
28575.01939E-052.55246E-055.81721E-056.33877E-055.7675E-057.74635E-05
28593.95187E-059.77957E-052.47994E-054.35886E-053.24515E-057.74635E-05

<!--StartFragment--> <colgroup><col width="71" span="8" style="width:53pt"> </colgroup><tbody>
<!--EndFragment--></tbody>

The first row and columns contain the object ID, the cells at the intersections of each row and column contain the distance. So as you see, the distance between Object 2852 and 2853 is the same as that between 2853 and 2852. That's not so much of a problem as it only really affects the StDev. The bigger problem is that there are a different number of objects in each table, and each table is in a separate sheet.
 
Upvote 0
For the data you gave in the last post (that occupies A1:H9), use this formula in B11:
=AVERAGE(INDIRECT("R"&COLUMN()+2&"C:R9C",FALSE))
and drag copy it to G11. It gives an average for the part of each column below the empty cell to the last filled cell in the column.
If the real data extends to row 100 and the blank cell in column B is still at row 3, the next formula should work for B102 and drag-copied right as far as needed:
=AVERAGE(INDIRECT("R"&COLUMN()+2&"C:R100C",FALSE))

I am unclear about how you want to combine the data from different worksheets.
 
Upvote 0

Forum statistics

Threads
1,215,639
Messages
6,125,971
Members
449,276
Latest member
surendra75

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