+ Reply to Thread
Results 1 to 4 of 4

Finding last non-blank cell in a column

  1. #1
    Microsoft.news.com
    Guest

    Finding last non-blank cell in a column

    I am trying to create a cell at the top of a worksheet that will give me the
    last non-blank cell in a column. The column is a list of dates.

    Any help is much appreciated.

    Bob Weeden



  2. #2
    Bob Phillips
    Guest

    Re: Finding last non-blank cell in a column

    =INDEX(A:A,MAX(IF(ISNUMBER(A1:A65535),ROW(A1:A65535))))

    as an array formula, so commit with Ctrl-Shift-Enter

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "Microsoft.news.com" <rweeden@wesd.k12.az.us> wrote in message
    news:%23mwRL9O$FHA.1172@TK2MSFTNGP10.phx.gbl...
    > I am trying to create a cell at the top of a worksheet that will give me

    the
    > last non-blank cell in a column. The column is a list of dates.
    >
    > Any help is much appreciated.
    >
    > Bob Weeden
    >
    >




  3. #3
    Dave Peterson
    Guest

    Re: Finding last non-blank cell in a column

    In A1 (with no gaps in column G):
    =index(g:g,counta(g:g))

    =Counta() counts formulas, too--including those that make the cell look blank
    (by returning "").

    Is that a problem?


    "Microsoft.news.com" wrote:
    >
    > I am trying to create a cell at the top of a worksheet that will give me the
    > last non-blank cell in a column. The column is a list of dates.
    >
    > Any help is much appreciated.
    >
    > Bob Weeden


    --

    Dave Peterson

  4. #4
    Gord Dibben
    Guest

    Re: Finding last non-blank cell in a column

    =ADDRESS(MATCH(9.99999999999999E+307,A:A),1) address of last value in column

    =LOOKUP(9.99999999999999E+307,A:A) will fetch the last value in column

    Note: values must be numeric(dates are)


    Gord Dibben Excel MVP

    On Fri, 9 Dec 2005 11:35:11 -0700, "Microsoft.news.com"
    <rweeden@wesd.k12.az.us> wrote:

    >I am trying to create a cell at the top of a worksheet that will give me the
    >last non-blank cell in a column. The column is a list of dates.
    >
    >Any help is much appreciated.
    >
    >Bob Weeden
    >


+ 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