ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   AVERAGE cells on another worksheet when the range is calculated (https://www.excelbanter.com/excel-discussion-misc-queries/253518-average-cells-another-worksheet-when-range-calculated.html)

SALeng

AVERAGE cells on another worksheet when the range is calculated
 
I am trying to average a range of cells on the main worksheet of my workbook,
but the cells to be averaged are on another worksheet in my workbook where
the range of cells to be averaged is calculated from an input cell on the
main worksheet

Luke M

AVERAGE cells on another worksheet when the range is calculated
 
Huh?? That is a very confusing paragraph.

I think you want something like this:
=AVERAGE(OFFSET('Some sheet'!A1,0,0,5,0))

Where 5 is telling the formula to average cells A1:A5. By placing different
variables within the OFFSET function you can control which cells you want to
average.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"SALeng" wrote:

I am trying to average a range of cells on the main worksheet of my workbook,
but the cells to be averaged are on another worksheet in my workbook where
the range of cells to be averaged is calculated from an input cell on the
main worksheet



All times are GMT +1. The time now is 11:24 PM.

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