FROGGER24
Well-known Member
- Joined
- May 22, 2004
- Messages
- 704
- Office Version
- 2013
- 2010
- Platform
- Windows
In Column AA I would like to merge these two formulas. If D3 = "barge" use this formula
=IF(AND(AE3<=5000, ROUND(ABS(Y3)*100, 2)>=3, ABS(X3)>=100), "Y", IF(AND(AE3<=10000, ROUND(ABS(Y3)*100, 2)>=2, ABS(X3)>=200), "Y", IF(AND(AE3<=50000, ROUND(ABS(Y3)*100, 2)>=1, ABS(X3)>=350), "Y", IF(AND(AE3<=200000, ROUND(ABS(Y3)*100, 2)>=0.9, ABS(X3)>=550), "Y", IF(AND(AE3>200000, ROUND(ABS(Y3)*100, 2)>=0.4), "Y", "N")))))
If D3 = "Ship" use this formula:
=IF(AND(AE3<=25000, ROUND(ABS(Y3)*100, 2)>=1, ABS(X3)>=250), "Y", IF(AND(AE3<=50000, ROUND(ABS(Y3)*100, 2)>=1, ABS(X3)>=250), "Y", IF(AND(AE3<=75000, ROUND(ABS(Y3)*100, 2)>=0.6, ABS(X3)>=300), "Y", IF(AND(AE3<=100000, ROUND(ABS(Y3)*100, 2)>=0.6, ABS(X3)>=400), "Y", IF(AND(AE3>100000, ROUND(ABS(Y3)*100, 2)>=0.5), "Y", "N")))))
Not sure if formulas can be condensed.
=IF(AND(AE3<=5000, ROUND(ABS(Y3)*100, 2)>=3, ABS(X3)>=100), "Y", IF(AND(AE3<=10000, ROUND(ABS(Y3)*100, 2)>=2, ABS(X3)>=200), "Y", IF(AND(AE3<=50000, ROUND(ABS(Y3)*100, 2)>=1, ABS(X3)>=350), "Y", IF(AND(AE3<=200000, ROUND(ABS(Y3)*100, 2)>=0.9, ABS(X3)>=550), "Y", IF(AND(AE3>200000, ROUND(ABS(Y3)*100, 2)>=0.4), "Y", "N")))))
If D3 = "Ship" use this formula:
=IF(AND(AE3<=25000, ROUND(ABS(Y3)*100, 2)>=1, ABS(X3)>=250), "Y", IF(AND(AE3<=50000, ROUND(ABS(Y3)*100, 2)>=1, ABS(X3)>=250), "Y", IF(AND(AE3<=75000, ROUND(ABS(Y3)*100, 2)>=0.6, ABS(X3)>=300), "Y", IF(AND(AE3<=100000, ROUND(ABS(Y3)*100, 2)>=0.6, ABS(X3)>=400), "Y", IF(AND(AE3>100000, ROUND(ABS(Y3)*100, 2)>=0.5), "Y", "N")))))
Not sure if formulas can be condensed.