Referencing a cell where the row number will change

davidanaya11579

New Member
Joined
Dec 26, 2017
Messages
11
Back for more help Geniuses!! I am working on a form where the user has multiple options for adding additional lines via command buttons. The adding of additional rows of information is all but guaranteed. Further down the form I need to sum 3 separate cells for a grand total, but the row numbers of the three cells I need to sum will change with the addition of additional rows of data.

EX: on the blank form the data that needs summed is located at O25, O29, and O33, however, when the user adds more lines to the form to fit the additional lines of data, those row numbers will all move by 1 row. Many additional rows of data would offset those numbers even more.

Is there anyway to write a formula that will trace those original cells as additional rows are added?
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
If you are inserting rows (which is what it sounds like) the formulas will update themselves and remain accurate. As a test put values in a2 through a4. Create a sum formula in a8 to sum up a2:a4. Select row 1, right click and select Insert. Your formulas should still point to the original cells. If you insert rows between the existing values the formula will be correct.

Not sure if there is something more at play with your question.
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,179
Members
452,615
Latest member
bogeys2birdies

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