ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Insert Column, Keep Average range (https://www.excelbanter.com/excel-worksheet-functions/238293-insert-column-keep-average-range.html)

pwarrenphoto

Insert Column, Keep Average range
 
I'm working on a sheet where I have the average function in column A
"=AVERAGE(B3:K3)" and it is averaging columns B-K. This is for tracking data
over the past several weeks. I would then like to insert a column at B, but
still average columns B-K, but the Average function in column A updates to
"=Average(C3:L3)" when the new column is added. I have tried using
"=Average($B$3:$K$3), but the formula still updates when the column is added.
How can I add a column, but keep the Average function on the cells B-K?
Thanks

Shane Devenshire[_2_]

Insert Column, Keep Average range
 
Hi,

Try

=AVERAGE(INDIRECT("B3:K3"))

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"pwarrenphoto" wrote:

I'm working on a sheet where I have the average function in column A
"=AVERAGE(B3:K3)" and it is averaging columns B-K. This is for tracking data
over the past several weeks. I would then like to insert a column at B, but
still average columns B-K, but the Average function in column A updates to
"=Average(C3:L3)" when the new column is added. I have tried using
"=Average($B$3:$K$3), but the formula still updates when the column is added.
How can I add a column, but keep the Average function on the cells B-K?
Thanks



All times are GMT +1. The time now is 08:21 AM.

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