why not have (in column d)
=IF(A1="FD", IF((B1-C1=0), 1, 0), 0)
Which would put a 1 in the cell if your criteria is met and 0 if not...
Then at the bottom sum up all your column D? The total is the answer you
want...
"Max" wrote:
Ah, I mis-understood it earlier, sorry. Think I'm out of ideas.
Perhaps other responders could step in here ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"andrew" wrote in message
...
Hi Max, the formula doesn't work as it returned a 7 as opposed to 4. If
you
notice in the example table, there are 2 sequences of FD in =0 mode. The
formula is supposed to check if a second (or third or onwards as the rows
are
updated) sequence happened, and then return the value of the latest
sequence.
In the table below, it should return 4 (FD being =0 4 times in the 2nd
sequence as opposed to the earlier sequence of 3 where FD =0)
Possible?