Calculating sum

J

JM

Hi,

I need to create a funtion in following situation :

1st column is a product name
2nd column is average of units of each product sold
during last 12 months
3rd and so on column has a number of units sold in each
month

No I need to create a funtion that calculates the average
for last 12 months, even I add new columns between 2nd
and 3rd column.

Normally adding a column between 2nd and 3rd, will modify
the funtion in 2nd column, but thats something I don't
want to happen. I need to have relative reference to 12
columns to right from the funtion cell...

Can anyone help me??

JM
 
X

xlbo

Use the indirect function
=AVERAGE(INDIRECT("C1:N1")

this converts a string to a range and strings aren't affected by inserting columns etc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top