I am trying to reference the last cell in a column that contains data. I am using the following formula:
=INDEX(N24:N227,MATCH(REPT("z",255),N24:N227))
The above formula works fine for column "N" because the entire column is empty to begin with. I eventually manually enter data it in.
The problem is when I apply the same formula to column "O" I get errors. The difference between column "N" and column "O" is even though there is no data in column "O" yet, there are formulas in every cell. The above formula does not seem to work if there formulas in the cells. It treats the entire column as being populated.
=INDEX(N24:N227,MATCH(REPT("z",255),N24:N227))
The above formula works fine for column "N" because the entire column is empty to begin with. I eventually manually enter data it in.
The problem is when I apply the same formula to column "O" I get errors. The difference between column "N" and column "O" is even though there is no data in column "O" yet, there are formulas in every cell. The above formula does not seem to work if there formulas in the cells. It treats the entire column as being populated.