I think posting what you've been using as a nested IF would help us help you troubleshoot. In theory the syntax for an IF statement looks like this:
IF(condition, trueExpression, falseExpression)
So extrapolating here, the nested IF should look like this:
IF(condition, trueExpression, IF(condition...