We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 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
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
- 352.4K Banking & Borrowing
- 253.7K Reduce Debt & Boost Income
- 454.4K Spending & Discounts
- 245.5K Work, Benefits & Business
- 601.3K Mortgages, Homes & Bills
- 177.6K Life & Family
- 259.3K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards