Forum Discussion
rach1345
Jan 26, 2023Brass Contributor
adding information to nested if formula not working
Hi, Can anyone help me please? I have the following formula IF(B2=3001,"N/A",IF(C2="IN","GEXPBOOK",IF(E2="GDG","GDG",IF(D2=1,"G1LINE",IF(AND(A2>0.01,A2<=53000),"G1CARTON",IF(AND(A2>53000,A2<1000000...
- Jan 27, 2023
I've put those additional conditions in; I'll leave it to you to verify that it's working correctly.
mathetes
Jan 26, 2023Silver Contributor
Rather than nesting IF functions so deep, which can get very confusing, you'd do well to learn the IFS function, which can be much simpler. You just need to make sure that the conditions are listed in an order such that the formula can stop once it encounters a condition that is met (i.e., it will not evaluate all the conditions and then accept the most relevant; it stops as soon as it meets a condition)