To the experts,
I have a formula that works fine but from time to time I have to change the formula because of the number of rows (transactions) has changed.
The formula:
=SUM(IF(MONTH($B$12:$B$99)=ROW($A1);M$12:M$99;0))
sums the amounts in col M when the months in col B equals to 1. The same formula is in other cells for the other months.
The cells with the formula is 20 rows under the last transaction row. This means that the cell with ther formula also moves down when more trancations are added.
The number of transactions will grow over the year. In the worksheet cell AL10 has the row number of the last transaction.(in this formula 99).
I am looking for a solution to replace 99 in the formula into the contents of cell AL10.
Thanks,
Paul
I have a formula that works fine but from time to time I have to change the formula because of the number of rows (transactions) has changed.
The formula:
=SUM(IF(MONTH($B$12:$B$99)=ROW($A1);M$12:M$99;0))
sums the amounts in col M when the months in col B equals to 1. The same formula is in other cells for the other months.
The cells with the formula is 20 rows under the last transaction row. This means that the cell with ther formula also moves down when more trancations are added.
The number of transactions will grow over the year. In the worksheet cell AL10 has the row number of the last transaction.(in this formula 99).
I am looking for a solution to replace 99 in the formula into the contents of cell AL10.
Thanks,
Paul