View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre
 
Posts: n/a
Default 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