[yoursmine emailed this question to me; I'm copying my response here for the benefit of anyone else curious]
First, let's re-format your formula, to make it easier to read, like this:
if (r=1, 350+(n*10*.35)+(nh*5),
if (r=2, 200+(n*10*.20)+(nh*5),
if (r=3, 150+(n*10*.15)+(nh*5),
if (r=4, (100+(n*10*.10)+(nh*5)
)
)
)
)
)
Ok, my guess is that when you add your 5th place clause, you're getting some parentheses mismatch, due to that extra left-parenthesis in your 4th place clause. Now, the formula as written works, but I suspect when you add your 5th place clause, it looks like this:
if (r=1, 350+(n*10*.35)+(nh*5),
if (r=2, 200+(n*10*.20)+(nh*5),
if (r=3, 150+(n*10*.15)+(nh*5),
if (r=4, (100+(n*10*.10)+(nh*5),
if (r=5, 100+(n*10*.08)+(nh*5)))))))
I won't try to detail what exactly that's doing, just tell you how to fix it. Either remove this parenthesis:
if (r=4, (100+(n*10*.10)+(nh*5),
Or add a matching one:
if (r=4, (100+(n*10*.10)+(nh*5)),