Function to find the first cell that is not zero
On Mon, 11 Jun 2007 10:22:41 +1000, "Mark"
wrote:
I know Ron, sorry but I had a wireless net failure. It happens.
Answered in your other thread:
---------------------------------
What do you mean by "find" the first cell?
This **array-entered** formula will return the column number of the first cell
in row 1 with a non-zero entry (enter with <ctrl-shift-enter)
=MATCH(1,ISNUMBER(1:1)*(1:1<0),0)
This **array-entered** formula will return the value in that cell:
=INDIRECT(ADDRESS(1,MATCH(1,ISNUMBER(1:1)*(1:1<0) ,0)))
-------------------------------
--ron
|