ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Excel - formula last data cell (https://www.excelbanter.com/excel-discussion-misc-queries/244014-excel-formula-last-data-cell.html)

John S

Excel - formula last data cell
 
I am looking for a way to create a formula that will access the last cell
with data in a column or row.

I a have a spreadsheet and the information where the last data is changes as
i update or copy in new data. I want a formula that will always give me the
results of the last cell in a column that contains a value.

Thanks for your help

Jacob Skaria

Excel - formula last data cell
 
The below will work for Col A. Adjust to suit
=LOOKUP(2,1/(Sheet1!A1:A65535<""),Sheet1!A1:A65535)

If this post helps click Yes
---------------
Jacob Skaria


"John S" wrote:

I am looking for a way to create a formula that will access the last cell
with data in a column or row.

I a have a spreadsheet and the information where the last data is changes as
i update or copy in new data. I want a formula that will always give me the
results of the last cell in a column that contains a value.

Thanks for your help


Mike H

Excel - formula last data cell
 
Hi,

last value in row 1
=LOOKUP(2,1/(1:1<""),1:1)

Last value in column A
=LOOKUP(2,1/(A:A<""),A:A)

Mike

"John S" wrote:

I am looking for a way to create a formula that will access the last cell
with data in a column or row.

I a have a spreadsheet and the information where the last data is changes as
i update or copy in new data. I want a formula that will always give me the
results of the last cell in a column that contains a value.

Thanks for your help



All times are GMT +1. The time now is 04:47 AM.

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