> Thanks! Worked like a charm. By the way, if N1 is never going to be less
> than zero, do i have to have that first formula with "unknown"?
No, it wouldn't be necessary. But you didn't specify that it would never be
less than zero, so I accounted for it. With that piece of information, I
believe Don's solution is the most efficient.