PC Review


Reply
Thread Tools Rate Thread

Finding last non-blank cell in a column

 
 
Microsoft.news.com
Guest
Posts: n/a
 
      9th Dec 2005
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 With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      9th Dec 2005
=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" <(E-Mail Removed)> wrote in message
news:%23mwRL9O$(E-Mail Removed)...
> 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 With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      9th Dec 2005
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
 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      9th Dec 2005
=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"
<(E-Mail Removed)> 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
If Cell in Column C is Blank, Make Adjacent Cell in Column B Blank ryguy7272 Microsoft Excel Programming 6 13th Jul 2009 11:05 PM
Finding the first blank cell in a row..in column "A" Anthony B. Microsoft Excel Programming 9 26th Sep 2007 03:29 AM
Finding first blank in column famdamly Microsoft Excel Misc 1 6th Mar 2006 09:04 PM
Finding next Blank Cell in Column trickdos Microsoft Excel Programming 2 19th May 2004 05:33 PM
Re: Finding text in a cell, then selecting cells below until a blank cell is found. Don Guillett Microsoft Excel Misc 2 9th Jul 2003 12:04 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:22 PM.