+ Reply to Thread
Results 1 to 6 of 6

Find Penultimate Non-Blank Cell in Column

  1. #1
    Registered User
    Join Date
    07-29-2011
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2010
    Posts
    43

    Unhappy Find Penultimate Non-Blank Cell in Column

    Hi,

    I have been trying to find a way of finding the penultimate non-blank cell in a column and I have hit a brick wall. The current formula I have does not work if there are two or more identical values in the column, as it is a MAX (or LARGE) formula, so I need to try something else.

    The blank cells contain formulae, so a better description would perhaps be the last non-numerical cell.

    The current non-working formula is:

    Please Login or Register  to view this content.
    or

    Please Login or Register  to view this content.
    Last edited by Jennasis; 07-16-2013 at 05:12 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,619

    Re: Find Penultimate Non-Blank Cell in Column

    upload example workbook

  3. #3
    Registered User
    Join Date
    07-29-2011
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2010
    Posts
    43

    Re: Find Penultimate Non-Blank Cell in Column

    Quote Originally Posted by zbor View Post
    upload example workbook
    Unfortunately I am unable to do so, due to the company firewall here - however, I can demonstrate here a little to give an example:

    Column With data
    125
    26
    -Formua with blank result-
    26
    -Formua with blank result-
    978
    -Formua with blank result-
    978
    -Formua with blank result-
    56

    I would want to pick up the bottom 978 result from this column

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,619

    Re: Find Penultimate Non-Blank Cell in Column

    For last non numerical value try:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Find Penultimate Non-Blank Cell in Column

    Perhaps using this ARRAY formula?

    =INDEX(A1:A20,COUNTA(A1:A20)-1)

    -- Array(CSE) { }, formulae are confirmed with Control+Shift+Enter.
    Not just Enter.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

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

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Find Penultimate Non-Blank Cell in Column

    bump to appear..post#5

  7. #7
    Registered User
    Join Date
    07-29-2011
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2010
    Posts
    43

    Re: Find Penultimate Non-Blank Cell in Column

    Thanks for your suggestions! :-)

    I finally found a method that seems to work ok

    Please Login or Register  to view this content.
    then I added a fraction to the formula result in each cell, via another column, to make the numbers unique

    Please Login or Register  to view this content.
    Last edited by Jennasis; 07-16-2013 at 05:14 AM.

+ 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. [SOLVED] Find the first blank cell in a column and place value
    By ABSTRAKTUS in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-27-2013, 12:12 AM
  2. [SOLVED] find first non-blank cell in column
    By drfarmkid in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-05-2012, 02:01 AM
  3. [SOLVED] How to find next blank cell in column A
    By kenadams378 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-21-2012, 07:12 AM
  4. macro to find first blank cell in a column cut the value from left adjacent column
    By willykin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-01-2012, 09:23 AM
  5. Find first blank cell in column if rightmost cell is non blank
    By Mothman in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-19-2010, 02:22 AM

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