Excel 2013/2016
| A | B | C | D | E | BF | BG | BH | BI |
---|
| | | | | | | | | |
| | | | | | | | | |
INDIRECT reference cell | | | | | | | | | |
| | | | | | | | | |
<tbody>
[TD="align: center"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]2[/TD]
[TD="align: right"][/TD]
[TD="align: right"]1.000[/TD]
[TD="align: right"]2.000[/TD]
[TD="align: right"]3.000[/TD]
[TD="align: right"]4.000[/TD]
[TD="align: right"]57.000[/TD]
[TD="align: right"]58.000[/TD]
[TD="align: right"]59.000[/TD]
[TD="align: right"]60.000[/TD]
[TD="align: center"]3[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]4[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
</tbody>
Ok, above is a 60 cell example of what I'm doing. Normally I have two hundred 60 cell sections on each row. Starting in B2 is this formula. It is dragged over and down.
=IFERROR(IF(DATEDIF(INDIRECT($A$3&CELL("address",$NKV3)),INDIRECT($A$3&CELL("address",$NML3)),"M")>=12,INDIRECT($A$3&CELL("address",ES3)),INDIRECT($A$3&CELL("address",ER3))),INDIRECT($A$3&CELL("address",ER3)))
The formula calculates the difference between 2 dates on another sheet. If the difference between the two dates is 12 months or greater it returns the next cell to the right. If an error or less than 12 months it returns the current figure, (stays the same).
Like I stated in earlier posts. Because of the large number of INDIRECT function it calculates extremely slow. Can anyone think of a way of updating and moving a group of cells to the left when certain conditions are met?