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
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?

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)
  • WaywardDriver
    WaywardDriver Posts: 546 Forumite
    Seventh Anniversary 500 Posts
    edited 5 January 2018 at 1:19PM
    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]
  • DoaM
    DoaM Posts: 11,863 Forumite
    10,000 Posts Fifth Anniversary Name Dropper Photogenic
    =A3+INDIRECT("A"&MATCH(,A:A,-1))
    

    Without spaces. :)
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

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

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.