Results 1 to 15 of 15

Return second to last non blank cell

Threaded View

  1. #1
    Forum Contributor
    Join Date
    08-17-2009
    Location
    West Midlands
    MS-Off Ver
    Excel 2016
    Posts
    213

    Return second to last non blank cell

    Good morning all and Happy New Year!

    I have a column of figures and want to return the last non-blank cell value, and second-to-last non-blank value.

    The first part was easy enough to resolve using:

    =LOOKUP(2,1/B5:B35,B5:B35)

    Now, silly me, but I thought using an offset function would be a simple was of returning the second-to-last value. However, when I attempted to incorporate it into my original formula:

    =OFFSET(LOOKUP(2,1/B5:B35,B5:B35),-1,0)

    I get the 'the formula you entered contains an error' message. Am I missing something really obvious here?

    Thanks

    Steve
    Last edited by SAsplin; 01-04-2013 at 05:11 AM.

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