Strange looping in User-Defined function (Excel XP)
Update:
The function now runs and gives the anticipated results. I had to change
the logic in lower-level function PoissonRand so it would handle the case
where its argument is 0.
Still, I am not sure why the function executes 3 times (it still does) even
when it appears only once in the calling excel file.
Gabriel
|