ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Last Value in Column (https://www.excelbanter.com/excel-worksheet-functions/29187-last-value-column.html)

katie

Last Value in Column
 
I have a column of data with random numbers. The number of rows with data
varies depending on another formula. I am trying to write a seprate formula
that will automatically give me the last value in the column no matter what
row it is in.

45, 44, 46, 12, , , , , (Would want it to return 12)
45, 44, 46, 12, 32, 17, 53, , (would want it to return 53)

Ron de Bruin

Hi katie

See Bob's site
http://www.xldynamic.com/source/xld.LastValue.html

--
Regards Ron de Bruin
http://www.rondebruin.nl



"katie" wrote in message ...
I have a column of data with random numbers. The number of rows with data
varies depending on another formula. I am trying to write a seprate formula
that will automatically give me the last value in the column no matter what
row it is in.

45, 44, 46, 12, , , , , (Would want it to return 12)
45, 44, 46, 12, 32, 17, 53, , (would want it to return 53)




Don Guillett

one way of many. This is an ARRAY formula so enter with ctrl+shift+enter
=INDEX(B:B,MAX((B1:B65535<"")*ROW(INDIRECT("1:655 35"))))

--
Don Guillett
SalesAid Software

"katie" wrote in message
...
I have a column of data with random numbers. The number of rows with data
varies depending on another formula. I am trying to write a seprate

formula
that will automatically give me the last value in the column no matter

what
row it is in.

45, 44, 46, 12, , , , , (Would want it to return 12)
45, 44, 46, 12, 32, 17, 53, , (would want it to return 53)





All times are GMT +1. The time now is 03:01 AM.

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