ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I find the last row containing data in a spreadsheet (https://www.excelbanter.com/excel-discussion-misc-queries/75096-how-do-i-find-last-row-containing-data-spreadsheet.html)

alx613

How do I find the last row containing data in a spreadsheet
 
I have a spreadsheet which can contain between 1500 and 3000 rows of data and
I want to be able to find the first blank row.

Thanks

Ron Coderre

How do I find the last row containing data in a spreadsheet
 
See if one of these works for you:

Note: Commit these array formulas by holding down [Ctrl] and [Shift] when
you press [Enter]

1. The address of the first empty cell in Col_A:
=CELL("address",INDEX(A1:A65535,MATCH(TRUE,ISBLANK (A1:A65535),0)))

2. A reference to the first empty cell in Col_A:
=INDEX(A1:A65535,MATCH(TRUE,ISBLANK(A1:A65535),0))

3. The row number of the first empty cell in Col_A:
=MATCH(TRUE,ISBLANK(A1:A65535),0)

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"alx613" wrote:

I have a spreadsheet which can contain between 1500 and 3000 rows of data and
I want to be able to find the first blank row.

Thanks


Duke Carey

How do I find the last row containing data in a spreadsheet
 
What do you mean by 'find'? Do you mean use the row # in a formula, or
identify within a macro so you can place data there, or quickly navigate
there, or something else entirely?

"alx613" wrote:

I have a spreadsheet which can contain between 1500 and 3000 rows of data and
I want to be able to find the first blank row.

Thanks



All times are GMT +1. The time now is 10:13 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com