You can use something like the formula below:
=NOT(ISERROR(FIND(A3, MID("<≤≥>", 2 + SIGN((A1-A2) - A4), 2))))
So, generally speaking, your formula will be the following:
=NOT(ISERROR(FIND(#OPERATOR#, MID("<≤≥>", 2 + SIGN(#OP1# - #OP2#), 2))))
The benefit is that you need to specify the numbers that you're comparing only once (so can you can have any arbitrary long formula for these numbers, without worrying that you're duplicating it).
This works by mapping the symbols <, ≤, ≥ and > to the numbers 1, 2, 3, 4 and then comparing this against the sign of the difference of the initial numbers.