Enzo_Matrix
Board Regular
- Joined
- Jan 9, 2018
- Messages
- 113
I want to consolidate my IF(AND formula and am having issues. Even though this is messy, it does work for my needs:
=IF(AND($J18<=5,$K18=1),"Low",IF(AND($J18<=2,$K18=2),"Low",IF(AND($J18<=2,$K18=3),"Low",IF(AND($J18=1,$K18=4),"Low",IF(AND($J18>=3,$K18=5),"High",IF(AND($J18=5,$K18>=3),"High",IF(AND($J18>=3,$K18=2),"Medium",IF(AND($J18>=4,$K18>=4),"High",IF(AND($J18>=2<4,$K18=3),"Medium",IF(AND($J18>=2<4,$K18=4),"Medium",""))))))))))
This is what I tried to clean it to but it doesn't work anymore:
=IF(AND($J17<=5,$K17=1,$J17<=2,$K17>=2<=3,$J17=1,$K17=1),"Low",IF(AND($J17>=3,$K17=2,$J17>=3<=4,$K17=3,$J17>=2<=3,$K17=4,$J17<=2,$K17=5),"Medium",IF(AND($J17=5,$K17=3,$J17>=4,$K17=4,$J17>=3,$K17=5),"High","")))
=IF(AND($J18<=5,$K18=1),"Low",IF(AND($J18<=2,$K18=2),"Low",IF(AND($J18<=2,$K18=3),"Low",IF(AND($J18=1,$K18=4),"Low",IF(AND($J18>=3,$K18=5),"High",IF(AND($J18=5,$K18>=3),"High",IF(AND($J18>=3,$K18=2),"Medium",IF(AND($J18>=4,$K18>=4),"High",IF(AND($J18>=2<4,$K18=3),"Medium",IF(AND($J18>=2<4,$K18=4),"Medium",""))))))))))
This is what I tried to clean it to but it doesn't work anymore:
=IF(AND($J17<=5,$K17=1,$J17<=2,$K17>=2<=3,$J17=1,$K17=1),"Low",IF(AND($J17>=3,$K17=2,$J17>=3<=4,$K17=3,$J17>=2<=3,$K17=4,$J17<=2,$K17=5),"Medium",IF(AND($J17=5,$K17=3,$J17>=4,$K17=4,$J17>=3,$K17=5),"High","")))