CELL EQUALS LAST NONBLANK CELL IN A COLUMN
This will return the *last numeric value* in the range:
=IF(COUNT(A1:A10),LOOKUP(1E100,A1:A10),"")
--
Biff
Microsoft Excel MVP
"Vicky" wrote in message
...
There are formulas in the cells above. The formulas results in a number
based upon the "If" condition in the formulas, else it returns a blank
value
in the cell. Here is a sample of one of the formulas in a cell in the
column
above...
=IF(AND(W16<"",(COUNTA($W$3:W15)0)-(COUNTBLANK($W$3:W15)),(COUNTA($W17:W$22)=0)-COUNTBLANK($W17:W$22)),$F16,"")
"T. Valko" wrote:
The best solution to this depends on many conditions. Among those a
What type of data is in the range, is it text or numeric, or can it be
both?
Are there any empty/blanks cells *within* the range?
Are there any formulas in the range that might return formula blanks?
As a starting point you can try something like this. Assumes no
empty/blank
cells within the range:
=IF(COUNTA(A1:A10),INDEX(A1:A10,COUNTA(A1:A10)),"" )
--
Biff
Microsoft Excel MVP
"Vicky" wrote in message
...
Can someone give me a function to use so that the cell at the bottom of
a
column equals the last nonblank cell above in that column?
|