robertsquestion
Technical User
Hi,
I'm using Excel 2003 and have the following question. I'm looking for a formula that gives me the right-most value in a range of cells. I tried the following formula:
=INDIRECT(ADDRESS(ROW(A1);MATCH(0;A1:E1;-1)))
This formula gives me the rightmost value in the range A1:E1. That works fine if the range only contains numbers. But as soon as you enter letters in the range of cells, the formula doesn't see this as a value.
Does anyone know how to change this formula (or another formula) so that it just gives me the value of the rightmost filled cell, regardless if there's a number or a letter in the cell?
Thanks in advance for your help!
Regards,
Robert
The Netherlands
I'm using Excel 2003 and have the following question. I'm looking for a formula that gives me the right-most value in a range of cells. I tried the following formula:
=INDIRECT(ADDRESS(ROW(A1);MATCH(0;A1:E1;-1)))
This formula gives me the rightmost value in the range A1:E1. That works fine if the range only contains numbers. But as soon as you enter letters in the range of cells, the formula doesn't see this as a value.
Does anyone know how to change this formula (or another formula) so that it just gives me the value of the rightmost filled cell, regardless if there's a number or a letter in the cell?
Thanks in advance for your help!
Regards,
Robert
The Netherlands