+ Reply to Thread
Results 1 to 9 of 9

Last cell in column

  1. #1
    Registered User
    Join Date
    11-06-2003
    MS-Off Ver
    2013
    Posts
    75

    Question Last cell in column

    Is there a formula to get show the last cell in the column with information?
    example:
    4.5
    6.6
    7.8
    3.4

    Need formula to show 3.4 since it is the last cell in the column with any information in it.

    I am using Excel 2000

    Thanks,
    dcoates

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

    =Lookup(9.999999999e+307,A:A)


    where column A is column of interest
    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 Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Hi,

    One way is:

    Please Login or Register  to view this content.
    Adjust column A as necessary.

    HTH

  4. #4
    Registered User
    Join Date
    11-06-2003
    MS-Off Ver
    2013
    Posts
    75
    I tried both formulas. If I try to find the last number I get 0 as my answer. If it try to find the last name in a column, I get #N/A. This happens with both formulas.

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Are you sure there's not a 0 somewhere in the column?

    To look for last text entry try:

    =Lookup(Rept("Z",255),A:A)

  6. #6
    Registered User
    Join Date
    11-06-2003
    MS-Off Ver
    2013
    Posts
    75
    We're getting there. The =Lookup(Rept("Z",255),A:A) works if there is only text in the column. If there is a mixture of time and text, it will return only the text.

    The 1st two formulas will return date and time information but text will return #N/A.

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

    =INDEX(A:A,MAX(MATCH(REPT("z",255),A:A),MATCH(9.999999999E+307,A:A)))

  8. #8
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    One other option would be to use this code in the worksheet selection change event

    Please Login or Register  to view this content.
    It will automatically enter in B1 the last value in column A whenever a change is made on the sheet.

    HTH

  9. #9
    Registered User
    Join Date
    11-06-2003
    MS-Off Ver
    2013
    Posts
    75
    Thank you. I used a combination of the formulas to achieve the results I was looking for. I am not familiar with codes to be able to use the last suggestion.

    Thanks for you invaluable assistance. Makes our lives so much easier.

    dcoates

+ 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