troubleshooting Question

Nested if error

Avatar of Euro5
Euro5Flag for United States of America asked on
Microsoft OfficeMicrosoft Excel
3 Comments1 Solution85 ViewsLast Modified:
I have tried to modify this formula, but now getting error - I know I'm using wrong number of parenthesis or something simple, but can't figure it out!
Can anyone help??

=IF(OR(K2="SPOZ",K2="SPOZDEF"),AB2,ROUNDUP(IF(AND(OR($K2={"SPLB","SPLBDEF","SPLBHW","SPLBDEFHW"}),'Enter Data'!$B$4=""),$G2/'Enter Data'!$A$4,IF(AND(OR($K2={"SPLB","SPLBDEF","SPLBHW","SPLBDEFHW"}),$G2>=('Enter Data'!$B$4*1728)),$G2/'Enter Data'!$C$4,IF(AND(OR($K2={"SPLB","SPLBDEF","SPLBHW","SPLBDEFHW"}), $G2/'Enter Data'!$A$4, IF(AND(OR($A2={"E2","ESP","FO","PO","SO","E2AM","F1","F2","F3"}),'Enter Data'!$B$2=""),$G2/'Enter Data'!$A$2, IF(AND(OR($A2={"E2","ESP","FO","PO","SO","E2AM","F1","F2","F3"}),$G2>=('Enter Data'!$B$2*1728)),$G2/'Enter Data'!$A$2, IF(AND(OR($A2={"E2","ESP","FO","PO","SO","E2AM","F1","F2","F3"}),$G2<('Enter Data'!$B$2*1728)),$G2/'Enter Data'!$C$2, IF(AND($A2="HD",'Enter Data'!$B$7=""),$G2/'Enter Data'!$A$7,IF(AND($A2="HD",$G2>=('Enter Data'!$B$7*1728)),$G2/'Enter Data'!$A$7, IF(AND($A2="HD",$G2<('Enter Data'!$B$4*1728)),$G2/'Enter Data'!$C$7, IF(AND(OR($A2={"GR","PRP"}),'Enter Data'!$B$4=""),$G2/'Enter Data'!$A$4, IF(AND(OR($A2={"GR","PRP"}),$G2>=('Enter Data'!$B$4*1728)),$G2/'Enter Data'!$A$4,IF(AND(OR($A2={"GR","PRP"}), $G2<('Enter Data'!$B$4*1728)),$G2/'Enter Data'!$C$4,IF($E2="PR",$G2/'Enter Data'!$A$2,IF(AND(OR($A2={"IP","IE","IPF","IEF"}), 'Enter Data'!$B$10="",D2="Exp"),$G2/'Enter Data'!$A$10,IF(AND(OR($A2={"IP","IE","IPF","IEF"}),$G2>=('Enter Data'!$B$10*1728),D2="Exp"), $G2/'Enter Data'!$A$10,IF(AND(OR($A2={"IP","IE","IPF","IEF"}),$G2<('Enter Data'!$B$10*1728),D2="Exp"), $G2/'Enter Data'!$C$10,IF(AND(OR($A2={"IP","IE","IPF","IEF"}),'Enter Data'!$B$13="",D2="Imp"),$G2/'Enter Data'!$A$13, IF(AND(OR($A2={"IP","IE","IPF","IEF"}),$G2>=('Enter Data'!$B$13*1728),D2="Imp"),$G2/'Enter Data'!$A$13, IF(AND(OR($A2={"IP","IE","IPF","IEF"}),$G2<('Enter Data'!$B$13*1728),D2="Imp"),$G2/'Enter Data'!$C$13,0)))))))))))))))))))),0))
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros