I/O_Dork
Board Regular
- Joined
- Jul 15, 2004
- Messages
- 75
Hi all:
I know how to write a formula to return the contents of the last used cell in a given column or range, but the issue here is that I don't just want to look for the actual contents of the last cell but the results of the formula in the last used cell.
For example, if I have a formula that occupies the cells in column R (or say out to row 500) and my last logical [true] formula result occurs on R10 not R500... I want the offset or index formula to return the last cell based on the formula result, not that fact that its the last cell that has anything in it or even a formula. How do I accomplish this. Currently, my offset formula is returning cell R500 b/c that is the last cell with content and not R189 which has a formula result of $99,000.00. The column is formated for number(accounting) as the formulas in column A return the dollar amount invested.
Here is my "find last used cell" formula:
=OFFSET(Blotter!$R$1,MATCH(MAX(Blotter!$R:$R)+1,Blotter!$R:$R,1)-1,0)
Any input is much appreciated!
Brian
I know how to write a formula to return the contents of the last used cell in a given column or range, but the issue here is that I don't just want to look for the actual contents of the last cell but the results of the formula in the last used cell.
For example, if I have a formula that occupies the cells in column R (or say out to row 500) and my last logical [true] formula result occurs on R10 not R500... I want the offset or index formula to return the last cell based on the formula result, not that fact that its the last cell that has anything in it or even a formula. How do I accomplish this. Currently, my offset formula is returning cell R500 b/c that is the last cell with content and not R189 which has a formula result of $99,000.00. The column is formated for number(accounting) as the formulas in column A return the dollar amount invested.
Here is my "find last used cell" formula:
=OFFSET(Blotter!$R$1,MATCH(MAX(Blotter!$R:$R)+1,Blotter!$R:$R,1)-1,0)
Any input is much appreciated!
Brian