C
Chas
Hello world, hope you can help on this topic:
I am using the formula that returns the value of an intersection
between a column and a row, as in "=(sales January)" where 'sales' is
the name of the row and 'January' is the name of the column. The name
'sales' was defined by selecting the total row and then use Insert
Name. Same principle for the column. So the value that is returned is
what is found on the intersection of the row 'sales' and colum
'January'.
So far so good. Now I want to calculate sales for the most recent three
month. So the formula would e.g. be =(sales March) + (sales February) +
(sales January). This works. But how do I progress to the next month
without having to change the formula? In other words, next month the
formula would be =(sales April) + (sales March) + (sales February), but
that would mean that I have to change the formula every month (it's a
big spreadsheet and it's undoable to change all the formulas every
month).
You would think that I could solve this by using not the name of the
month, but another name like 'most recent month', 'previous month' for
the next one, etc. But then I would have to move over the data to the
next colum every time (or rename the colums), which isn't doable either
due to the size/complexity of the whole thing.
So what I was hoping for is to find a formula like =(sales [column B])
where [column B] is a non-relative reference (i.e. it always remains
column B even if you insert another column). Any suggestions would make
my life significantly more pleasant.
Thanks, Chas
I am using the formula that returns the value of an intersection
between a column and a row, as in "=(sales January)" where 'sales' is
the name of the row and 'January' is the name of the column. The name
'sales' was defined by selecting the total row and then use Insert
Name. Same principle for the column. So the value that is returned is
what is found on the intersection of the row 'sales' and colum
'January'.
So far so good. Now I want to calculate sales for the most recent three
month. So the formula would e.g. be =(sales March) + (sales February) +
(sales January). This works. But how do I progress to the next month
without having to change the formula? In other words, next month the
formula would be =(sales April) + (sales March) + (sales February), but
that would mean that I have to change the formula every month (it's a
big spreadsheet and it's undoable to change all the formulas every
month).
You would think that I could solve this by using not the name of the
month, but another name like 'most recent month', 'previous month' for
the next one, etc. But then I would have to move over the data to the
next colum every time (or rename the colums), which isn't doable either
due to the size/complexity of the whole thing.
So what I was hoping for is to find a formula like =(sales [column B])
where [column B] is a non-relative reference (i.e. it always remains
column B even if you insert another column). Any suggestions would make
my life significantly more pleasant.
Thanks, Chas