Sunshine8790
Board Regular
- Joined
- Jun 1, 2021
- Messages
- 71
- Office Version
- 365
- Platform
- Windows
I have a pivot table where an additional column was added on for percentages for each row of data.
Below is the formula for the first 2 rows of data located in columns AG40 through AG48:
Then there is the "Total" row, where the formula in AG49 (where all the above values are being divided by) is:
The trouble is, the data is updated daily - and sometimes there is an extra row or 2 of data, sometimes a row or 2 less of data. Which means sometimes the "Total" line which is currently on row 49, ends up in row 50, or 48, or 51.
Is there a way to change these formulas to work with that kind of fluctuation so that I don't have to keep manually updating it as it changes?
Below is the formula for the first 2 rows of data located in columns AG40 through AG48:
Excel Formula:
=AF40/$AF$49
Excel Formula:
=AF41/$AF$49
Excel Formula:
=AF42/$AF$49
Excel Formula:
=AF43/$AF$49
Excel Formula:
=AF44/$AF$49
Excel Formula:
=AF45/$AF$49
Excel Formula:
=AF46/$AF$49
Excel Formula:
=AF47/$AF$49
Excel Formula:
=AF48/$AF$49
Then there is the "Total" row, where the formula in AG49 (where all the above values are being divided by) is:
Excel Formula:
=SUM(AG40:AG48
The trouble is, the data is updated daily - and sometimes there is an extra row or 2 of data, sometimes a row or 2 less of data. Which means sometimes the "Total" line which is currently on row 49, ends up in row 50, or 48, or 51.
Is there a way to change these formulas to work with that kind of fluctuation so that I don't have to keep manually updating it as it changes?