+ Reply to Thread
Results 1 to 8 of 8

formula to return the last figure in a running total

  1. #1
    Registered User
    Join Date
    09-27-2012
    Location
    Northampton, England
    MS-Off Ver
    excel 2016
    Posts
    64

    Thumbs up formula to return the last figure in a running total

    hello
    hopefully someone can help me out there!!!
    I need a formula to return the last figure in a running total column. is there anything that can do that!!?
    im using it for a bank tracker so it will be always changing so I need it to return the latest balance on a summary page.

    many thanks in advance.

    Carol

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: formula to return the last figure in a running total

    To get the last number in column A try this formula

    =LOOKUP(9.99E+307,A:A)

    change the column letter as required
    Audere est facere

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,510

    Re: formula to return the last figure in a running total

    =INDEX($H:$H,COUNTA($H:$H)) for column H.

    This assumes that a) there are no blank cells amongst the running totals and b) that there is no data below the running total data.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    09-27-2012
    Location
    Northampton, England
    MS-Off Ver
    excel 2016
    Posts
    64

    Re: formula to return the last figure in a running total

    HI - thanks for your speedy replies!
    TMShucks - your formula returns 0??!
    but Daddylonglegs - that's perfect! thanks! I wont bother to ask why the random numbers!! maybe they all mean something!

    THANKYOU anyway!

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: formula to return the last figure in a running total

    9.99E+307 is the largest number that XL can handle

  6. #6
    Registered User
    Join Date
    09-27-2012
    Location
    Northampton, England
    MS-Off Ver
    excel 2016
    Posts
    64

    Re: formula to return the last figure in a running total

    aha! ok simple when u know
    thanks!

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,510

    Re: formula to return the last figure in a running total

    I'd need to know what is in column H.

  8. #8
    Registered User
    Join Date
    09-27-2012
    Location
    Northampton, England
    MS-Off Ver
    excel 2016
    Posts
    64

    Re: formula to return the last figure in a running total

    its text - as in a list of months. is that why!?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1