+ Reply to Thread
Results 1 to 4 of 4

formula to lookup last entry in a list?

Hybrid View

  1. #1
    Registered User
    Join Date
    10-20-2008
    Location
    Melbourne, FL
    Posts
    2

    formula to lookup last entry in a list?

    I have a list of account balances in one column. How can I pick up only the bottom number in that column? I have 20 worksheets and want a total across all worksheets of the last number listed in a particular column but each worksheet is different because they contain a different number of rows with activity. So, if in col. C I have:

    $482
    $1,000
    $899
    $456
    $231

    ... then I want $231 to be what is captured for that worksheet, but if the 2nd worksheet contains:

    $500
    $1000
    $344

    ... then I want $344 to be what is captured for worksheet 2. Does that make sense. In the end I want to sum $231, $344.... etc.

    Thanks if you can help.
    Last edited by VBA Noob; 10-20-2008 at 03:09 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    To get last number in column C of any worksheet...try:

    =Lookup(9.99999999e+307,C:C)

    Put that result in the same cell of each sheet, then you can use sum across the sheets..

    e.g. =Sum(Sheet1:Sheet10!X1)

    Where you have Sheets 1 to 10 summing X1 in each sheet.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Link should help

    http://www.xldynamic.com/source/xld.LastValue.html

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  4. #4
    Registered User
    Join Date
    10-20-2008
    Location
    Melbourne, FL
    Posts
    2
    WOW... that was fast. I must have spent 2 hours looking at Excel's built-in formulae explanations... should have started here! Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. drop down list with user entry?
    By zoneblitz61 in forum Excel General
    Replies: 1
    Last Post: 09-10-2008, 08:02 AM
  2. Reference lookup formula
    By AK262007 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-26-2008, 05:09 AM
  3. Replies: 1
    Last Post: 01-23-2007, 02:33 PM
  4. Protection of validation list cell entry
    By DesM in forum Excel General
    Replies: 4
    Last Post: 11-05-2006, 02:36 PM
  5. Applying a formula to a list of values
    By TrooperFarva in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-18-2006, 04:34 PM

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