+ Reply to Thread
Results 1 to 3 of 3

Using last cell in a column

  1. #1
    Registered User
    Join Date
    03-02-2005
    Posts
    3

    Using last cell in a column

    I was wondering how to put the last cell of a column in a formula so that it is always the last cell, even when I changed the number of rows on that worksheet. So If my last cell with data would be E20 it would use E20 in the formula for another cell. But if I add another row so the last cell with data is E21, that the formula would then use E21 instead of E20. Thanks!

  2. #2
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    If your column contains numerical data...

    =LOOKUP(9.99999999999999E+307,E:E)

    If your column contains text data...

    =LOOKUP(REPT("z",255),E:E)

    If your column can contain numerical and text data...

    =LOOKUP(2,1/(E1:E100<>""),E1:E100)

    Hope this helps!

    Quote Originally Posted by mike12
    I was wondering how to put the last cell of a column in a formula so that it is always the last cell, even when I changed the number of rows on that worksheet. So If my last cell with data would be E20 it would use E20 in the formula for another cell. But if I add another row so the last cell with data is E21, that the formula would then use E21 instead of E20. Thanks!

  3. #3
    Registered User
    Join Date
    03-02-2005
    Posts
    3
    Thanks a bunch, just what I needed!

+ 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