Indirect summation

BenElliott

Board Regular
Joined
Jul 19, 2012
Messages
144
Hello, all.

I can't find this question referenced in the forum before.

I have a sheet where Column 'A' always remains the same each year I use it. But I always add columns between column 'A' and 'C' each year, like this:
Year 1
2017
2016
Turnover

<tbody>
</tbody>
Year 2
2018
2017
2016
Turnover

<tbody>
</tbody>
So, everything moves across one column each year. The current year's figures are always in column 'B'

I have a small table elsewhere on the sheet that sumarises what is in Column 'B'. My problem is that by adding a column, the formulae in this table, even when absolute references (e.g. $B$2) adjusts to counter the adding of the column.

To get round this I have started using the =Indirect() instruction and by-and-large it works. But, I have one cell that refuses to give the correct answer.

the formula in this cell is
Code:
=INDIRECT("B11")+INDIRECT("B22")+INDIRECT("B23")+INDIRECT("B24")+INDIRECT("B25")+INDIRECT("B28")+INDIRECT("B30")*INDIRECT("B32")+INDIRECT("B35")+INDIRECT("B41")+INDIRECT("B42")+INDIRECT("B43")+INDIRECT("B29")
. The contents of these cells are
7, -158, 97, 913, 312, 203, 1020, 360, 804, 19986, 212, 11543

<colgroup><col width="89"></colgroup><tbody>
</tbody>
and their total should be 35,379 but my formula, above gives the result as 63,739 and for the life of me, I cannot see why.

So, my question is in two parts>
  1. Is the "Indirect" method the best one to use in stopping the change of abolute references?
  2. Is there a feature of using =Indirect that I'm not aware of?
Hope this makes sense.

Thanks,

Ben
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,214,868
Messages
6,122,005
Members
449,059
Latest member
mtsheetz

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top