Hi,
Below are the requirements:
1. How do I select A4:A5 dynamically so that it'll take into consideration whenever a user deletes or adds a row? For example, if a user adds a row within that range, the code needs to recognize that and select appropriate range of cells.
2. Put the sum of the subtotals into the Total (A6) cell. This also needs to be dynamic so if a user add a row, the cell would now be A7.
Thank you
Below are the requirements:
1. How do I select A4:A5 dynamically so that it'll take into consideration whenever a user deletes or adds a row? For example, if a user adds a row within that range, the code needs to recognize that and select appropriate range of cells.
2. Put the sum of the subtotals into the Total (A6) cell. This also needs to be dynamic so if a user add a row, the cell would now be A7.
Thank you
A | |
1 | 10 |
2 | 20 |
3 | Total 30 |
4 | 20 |
5 | 30 |
6 | Total 50 |