結果 : if function nested formulas and avoiding pitfalls