+ Reply to Thread
Results 1 to 8 of 8

Column lookup??

  1. #1
    Registered User
    Join Date
    05-10-2010
    Location
    Norwich, England
    MS-Off Ver
    Excel 2003
    Posts
    6

    Column lookup??

    Hi, I'm really struggling with trying to find the last value in a column. The formula below used to works in a different sheet until you go to copy the formula then returns a #VALUE! error which seems to originate from the highlighted bit.

    =INDEX(H$10:H$15,LARGE(IF(H$10:H$15<>"",ROW(H$10:H$15)-MIN(ROW(H$10:H$15))+1),ROWS(H$16:H$16)))

    Any ideas???

    Nathanael

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Column lookup??

    Hi natdawson
    can you use
    =INDEX(h:h,MAX(MATCH("zzzzzzzzzz",h:h),MATCH(9.9999E+307,h:h)))
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Registered User
    Join Date
    05-10-2010
    Location
    Norwich, England
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Column lookup??

    I tried that but it doesn't return a value.
    Last edited by natdawson; 05-10-2010 at 05:25 AM.

  4. #4
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Column lookup??

    hi natdawson
    It will return the last value in column H
    what did you get

  5. #5
    Registered User
    Join Date
    05-10-2010
    Location
    Norwich, England
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Column lookup??

    it didn't return anything.

    I'm looking for something which will look up the column from the current cell say H9 in this case and keep going til it finds the first value which in this case would be '597809'.

    H
    1
    2 1278463
    3 937289
    4 392742
    5 1000398
    6 597809
    7
    8
    9 value returned here

  6. #6
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Column lookup??

    try this one, it finds the last number in a column
    =LOOKUP(9.99999999999E+307,h:h)

    the other formula is for the last word or number

  7. #7
    Registered User
    Join Date
    05-10-2010
    Location
    Norwich, England
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Column lookup??

    Excellent, just altered the h:h bit but now works perfectly.
    Many thanks

    Nathanael

  8. #8
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Column lookup??

    no problems , but dont forget to mark the post solved

+ 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