Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / November 2005

Tip: Looking for answers? Try searching our database.

Find last non-blank row with a worksheet function

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bruce - 25 Nov 2005 04:04 GMT
Find the last row with a value.

Say I have a worksheet with a data entery range of A1 to A100. The user is
required to enter data from row 1 downwards and cannot leave blanks between
rows.

I want to return the value in the last comleted row by function. Any ideas?
For example that last row with a value may be in cell A20 of the A1:A100
range.

Rgds,

Bruce
Biff - 25 Nov 2005 04:25 GMT
Hi!

Try one of these:

If the data is all numeric:

=LOOKUP(9.99999999999999E+307,A1:A100)

If the data is all text:

=LOOKUP(REPT("Z",255),A1:A100)

If the data is mixed:

=LOOKUP(2,1/(A1:A100<>""),A1:A100)

Biff

> Find the last row with a value.
>
[quoted text clipped - 11 lines]
>
> Bruce
Bruce - 25 Nov 2005 05:10 GMT
Perfect,

Thanks Biff.

Bruce

> Hi!
>
[quoted text clipped - 29 lines]
> >
> > Bruce
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.