> Mark,

The name is Max, Carlos <g>. Think the prob is not with the function, but
the manner in which you want to fill the formula to exclude the preceding
lines with zeros above, which lines do not appear to bear any regular
sequence. I see that you've since re-posted and got some insight's from Peo.
And from your latest post there, good to see you seem to have worked out the
solution, too !
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--