+ Reply to Thread
Results 1 to 5 of 5

Lookup / refer to highest Row number in a column

  1. #1
    Registered User
    Join Date
    05-25-2013
    Location
    denmark
    MS-Off Ver
    Excel 2010
    Posts
    52

    Lookup / refer to highest Row number in a column

    Hey guys, im trying to refer to the highest ROWnumber in a column. (within a formula).

    i dont want the information within the specific cell, just the highest rownumber which is not empty

    any suggestions?

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Lookup / refer to highest Row number in a column

    Only in a single column or in all columns?

    And you want VBA or Excel Function?
    Cheers!
    Deep Dave

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Lookup / refer to highest Row number in a column

    Hi.

    Does the column in question contain text, numbers, or perhaps a mixture of both?

    Also, are there any null strings (""), e.g. a result of formulas within those cells?

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Lookup / refer to highest Row number in a column

    Try
    =IF(COUNTA(A:A),MAX(IFERROR(MATCH(10^15,A:A),0),IFERROR(MATCH(REPT("z",15),A:A),0)),"")
    Please Login or Register  to view this content.
    or
    =IFERROR(LOOKUP(2,1/(A:A<>""),ROW(A:A)),"")
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  5. #5
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Lookup / refer to highest Row number in a column

    Quote Originally Posted by nflsales View Post
    Please Login or Register  to view this content.
    This is why I asked if there were any null strings ("") within the range, since this may well fail if there are.

    Quote Originally Posted by nflsales View Post
    =IFERROR(LOOKUP(2,1/(A:A<>""),ROW(A:A)),"")
    This will work, though it is having to process more than a million cells, so is incredibly inefficient.

    Regards

+ 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. Lookup Next Highest Number
    By nadavey86 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-18-2015, 05:27 PM
  2. [SOLVED] Return row number for highest date with given lookup value (no matrix please)
    By nielsb in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 07-21-2015, 11:06 PM
  3. Replies: 1
    Last Post: 06-10-2013, 07:08 PM
  4. Find highest revision number in one column of a item number in another column
    By Tasiast in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-01-2013, 01:03 PM
  5. Lookup the nth highest number in a row
    By errigal in forum Excel General
    Replies: 2
    Last Post: 09-29-2008, 04:18 PM
  6. Replies: 4
    Last Post: 01-17-2008, 06:05 PM
  7. Replies: 3
    Last Post: 08-10-2006, 11:40 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