#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default last non-empty cells

is there a formula for displaying the last non-empty cell or the last used
cell in a column or row? if there is kindly notify me at
. i needed it badly.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default last non-empty cells


one way is to look for a number or letter larger than possible
=match(99999999,a:a)
or
=match("zzzzzzzzz",a:a)
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"krayzie killa" <krayzie
wrote in message
...
is there a formula for displaying the last non-empty cell or the last used
cell in a column or row? if there is kindly notify me at
. i needed it badly.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default last non-empty cells

Your formula returns #NUM! error prior to XL-2007
Last entry in column A:
=LOOKUP(2,1/(LEN(A:A)0),A:A)


should be:
=LOOKUP(2,1/(LEN(A1:A65535)0),A:A)


"Ron Rosenfeld" wrote:

On Sat, 15 Mar 2008 05:53:00 -0700, krayzie killa <krayzie
wrote:

is there a formula for displaying the last non-empty cell or the last used
cell in a column or row? if there is kindly notify me at
. i needed it badly.


Last entry in column A:

=LOOKUP(2,1/(LEN(A:A)0),A:A)

Last entry in Row 1:

=LOOKUP(2,1/(LEN(1:1)0),1:1)

--ron

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default last non-empty cells

On Sat, 15 Mar 2008 08:29:02 -0700, Teethless mama
wrote:

Your formula returns #NUM! error prior to XL-2007
Last entry in column A:
=LOOKUP(2,1/(LEN(A:A)0),A:A)


should be:
=LOOKUP(2,1/(LEN(A1:A65535)0),A:A)


I just switched to 2007. I guess "compatibility mode" in 2007 doesn't take
that into account. Thanks for the correction.
--ron


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
skip cells with zero values in chart (cells not empty) jhall@ifox Charts and Charting in Excel 3 June 2nd 09 02:11 PM
Excel - Autom. Filter "Empty / Non Empty cells" should come first Rom Excel Discussion (Misc queries) 0 August 10th 05 04:32 PM
When I SUM cells & 1 is empty I need the result to be empty not 0 Maribel Excel Discussion (Misc queries) 1 August 2nd 05 12:49 AM
How can I convert empty strings to empty cells? Shane Excel Discussion (Misc queries) 2 July 19th 05 12:10 PM
how do populate empty cells with the contents of populated cells . Jim99 Excel Discussion (Misc queries) 6 April 21st 05 05:44 PM


All times are GMT +1. The time now is 12:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"