ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Last Row used in calculation (https://www.excelbanter.com/excel-worksheet-functions/193137-last-row-used-calculation.html)

JefKel

Last Row used in calculation
 
I have a column with 15 rows. Data is entered down the list - using A1
through A15. Not all rows are used, and the final row entry varies each
time. At A16, a Formula is used to take the last entered row and enter it
into A16.
I've used the IF(ISBLANK(A15),IF(ISBLANK(A14), ... ,A14),A15) - but that is
limited to seven IF statements in a Formula. I've tried the LOOKUP function,
but can't seem to apply it with an ISBLANK series - fifteen times.

Bob Phillips

Last Row used in calculation
 
=LOOKUP(2,1/(A1:A100<""),A1:A100)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"JefKel" wrote in message
...
I have a column with 15 rows. Data is entered down the list - using A1
through A15. Not all rows are used, and the final row entry varies each
time. At A16, a Formula is used to take the last entered row and enter it
into A16.
I've used the IF(ISBLANK(A15),IF(ISBLANK(A14), ... ,A14),A15) - but that
is
limited to seven IF statements in a Formula. I've tried the LOOKUP
function,
but can't seem to apply it with an ISBLANK series - fifteen times.




Jarek Kujawa[_2_]

Last Row used in calculation
 
try:

=INDIRECT("A"&MAX(IF(LEN($A$1:$A$15)0,ROW($A$1:$A $15),)))

Jarek Kujawa[_2_]

Last Row used in calculation
 
try:

=INDIRECT("A"&MAX(IF(LEN($A$1:$A$15)0,ROW($A$1:$A $15),)))

array-enter it i.e. with CTRL+SHIFT+ENTER

Teethless mama

Last Row used in calculation
 
=LOOKUP(9^9,A1:A15)


"JefKel" wrote:

I have a column with 15 rows. Data is entered down the list - using A1
through A15. Not all rows are used, and the final row entry varies each
time. At A16, a Formula is used to take the last entered row and enter it
into A16.
I've used the IF(ISBLANK(A15),IF(ISBLANK(A14), ... ,A14),A15) - but that is
limited to seven IF statements in a Formula. I've tried the LOOKUP function,
but can't seem to apply it with an ISBLANK series - fifteen times.



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

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