We'd like to remind Forumites to please avoid political debate on the Forum... Read More »
We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
excel formula
Options

RevTimms
Posts: 54 Forumite
in Techie Stuff
I have a column of figures on my spreadsheet. eg A3 to A41.
I will sometimes be adding to the column and sometimes deleting from it.
eg delete A5, or adding another figure eg at A42.
Elsewhere on the spreadsheet I want, the first one and the last one totalled, but I don't want to have to keep altering the new cell everytime I add or delete a value.
Is there a formula which would do this for me?
I will sometimes be adding to the column and sometimes deleting from it.
eg delete A5, or adding another figure eg at A42.
Elsewhere on the spreadsheet I want, the first one and the last one totalled, but I don't want to have to keep altering the new cell everytime I add or delete a value.
Is there a formula which would do this for me?
0
Comments
-
There's no need to do anything, that's the way Excel works already. If you put =A3+A41 in the cell where you want the total, then it will automatically increment/decrement the references when you insert/delete lines. (If you don't want it to automatically alter references you use a dollar symbol in front of the part you want to freeze: =A$3+A$41)0
-
If I understand it you want A3+Axx where xx = last row in column. If so try
= A3 + INDIRECT("A" & MATCH(, A : A,-1))
and remove all spaces.
[Part of earlier version without spaces was displayed as emoji]0 -
=A3+INDIRECT("A"&MATCH(,A:A,-1))
Without spaces.0
This discussion has been closed.
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 350.9K Banking & Borrowing
- 253.1K Reduce Debt & Boost Income
- 453.5K Spending & Discounts
- 243.9K Work, Benefits & Business
- 598.7K Mortgages, Homes & Bills
- 176.9K Life & Family
- 257.2K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.1K Discuss & Feedback
- 37.6K Read-Only Boards