ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   retrieve the last value in a column - JulieD (https://www.excelbanter.com/excel-programming/325794-retrieve-last-value-column-julied.html)

Mike Fogleman

retrieve the last value in a column - JulieD
 
to retrieve the last value in a column
=LOOKUP(2,1/(-E1:E10<0),E1:E10)

Where A1:A10 is the range you're interested in.

Cheers
JulieD

Could someone explain the mechanics of the first two arguments in this
formula? I realize that Julie's comment referenced the wrong range in the
formula, but what is Excel doing when it reads this?

Mike F



JulieD

retrieve the last value in a column - JulieD
 
Hi Mike

sorry, must have been having a bad day - for a full explaination of the
formula and a whole lot of other topics relating to last values check out
http://www.xldynamic.com/source/xld.LastValue.html

the article #012 - Using A Non-Array LOOKUP Formula
explains the formula that i posted.

Cheers
JulieD


"Mike Fogleman" wrote in message
...
to retrieve the last value in a column
=LOOKUP(2,1/(-E1:E10<0),E1:E10)

Where A1:A10 is the range you're interested in.

Cheers
JulieD

Could someone explain the mechanics of the first two arguments in this
formula? I realize that Julie's comment referenced the wrong range in the
formula, but what is Excel doing when it reads this?

Mike F





All times are GMT +1. The time now is 02:05 AM.

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