I'm trying to get a formula to function in excel (I17) and am missing something, but I can't quite tell where.
Current Formula:
=IF(ISBLANK(H17),”0”,(IF(ISBLANK(J17), IF(OR(H17<G17,H17=G17),"0","1"), IF(OR(H17<J17,H17=J17),"0","1"))))
Essentially, if H17 is blank, then I17 should be 0.
If H17 is not blank, then the formula needs to first look to see if J17 is blank.
If J17 is blank, the formula needs to compare H17 to G17. If H17 is less than or equal to G17, the formula should produce a 0. If H17 is greater than G17, it should produce a 1.
If J17 is not blank, the formula needs to compare H17 to J17. If H17 is less than or equal to J17, the formula should produce a 0. If H17 is greater than J17, it should produce a 1.