ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how to average a cell value across worksheets? (https://www.excelbanter.com/excel-programming/343180-how-average-cell-value-across-worksheets.html)

Mark Dvorkin

how to average a cell value across worksheets?
 
Hello,

I have a workbook containing upto 30 worksheets, i.e.
at any given time there could be any number of sheets
from 1 to 30

I'd like to have a function which would average values
in one particular cell across the sheets prior to the call
(from sheet1 to the sheet where the function is called).

Could somebody please get me started on this one.

Thanks in advance,
Mark



Bob Phillips[_6_]

how to average a cell value across worksheets?
 
Mark,

It is quite simple

=AVERAGE(Sheet2:Sheet30!A1)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Mark Dvorkin" wrote in message
...
Hello,

I have a workbook containing upto 30 worksheets, i.e.
at any given time there could be any number of sheets
from 1 to 30

I'd like to have a function which would average values
in one particular cell across the sheets prior to the call
(from sheet1 to the sheet where the function is called).

Could somebody please get me started on this one.

Thanks in advance,
Mark





Mark Dvorkin

how to average a cell value across worksheets?
 
embarrassing but very helpful!
Thanks Bob

Bob Phillips wrote:

Mark,

It is quite simple

=AVERAGE(Sheet2:Sheet30!A1)






All times are GMT +1. The time now is 07:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com