+ Reply to Thread
Results 1 to 7 of 7

Picking up the last entry

  1. #1
    Forum Contributor
    Join Date
    11-13-2010
    Location
    Warren, Michigan
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    307

    Picking up the last entry

    Everyday I have an entry on Worksheet 1.

    Example: A110:4
    On Worksheet in B1 - I would like that daily number to appear (4)

    Isn't a formula to update automatically with last entry from Worksheet 1 Column A?

    Thanks -
    Last edited by NBVC; 12-20-2010 at 11:23 AM.

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Picking up the last entry

    You could try...

    =INDEX(A:A,MATCH(9.99999999999999E+307,A:A))
    HTH
    Regards, Jeff

  3. #3
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Picking up the last entry

    You could try something like..

    Please Login or Register  to view this content.
    pasted into B1. I have assumed that there are no gaps in the data in column A.
    Martin

  4. #4
    Forum Contributor
    Join Date
    11-13-2010
    Location
    Warren, Michigan
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    307

    Re: Picking up the last entry

    I tried
    =INDIRECT('SHEET 1'!"$D$ & COUNTA(D:D)) - there's a mistake in the code.
    I even tried it by adding $D2$, still the same.

  5. #5
    Forum Contributor
    Join Date
    11-13-2010
    Location
    Warren, Michigan
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    307

    Re: Picking up the last entry

    I tried
    =INDIRECT('SHEET 1'!"$D$ & COUNTA(D:D)) - there's a mistake in the code.
    I even tried it by adding $D2$, still the same.

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Picking up the last entry

    =LOOKUP(9.99999e+307,A:A)

    should get you the last numerical entry in column A

    FYI.. you have the quotes in the wrong place in that formula you posted.

    s/b: =INDIRECT("'SHEET 1'!$D$" & COUNTA(D:D)) but that won't necessarily work, as it relies on you starting at D1. It counts how many entries are in column D and makes that the row reference to match. So if you have entries in D3 and D4 and expect the result to show what is in D4, it won't because it counts 2 entries in column D and so applies Sheet 1!D2 as the lookup cell and will probably return 0.
    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.

  7. #7
    Forum Contributor
    Join Date
    11-13-2010
    Location
    Warren, Michigan
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    307

    Re: Picking up the last entry

    Thanks the code is working - for some reason I was thinking I needed to pick the code on a different sheet. I needed to keep it on the original sheet then do a "cell" copy to the sheet I needed the number at.

    Thanks to you all! Happy Holidays.

+ 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