PW,
To expand a little on your answer, for Shetha's benefit, each payment or receipt in the parameter range represents the net cash flow for one period in a series of equally spaced periods. The result of the calculation will be the effective interest rate, per period, making the NPV (net present value) equal to zero. The user will have to select a period consistent with his or her accounting style and then enter the net for each period, even if some periods have no activity, entering zero for those. The length of the period is whatever you wish, but must be uniform, and the resulting interest rate is the rate for the period you choose.
Regards,
Jerry