I'm trying to make a function that can sort through a matrix/range and turn very high or very low values into maximum values and leave all middle values as zero. However mathcad seems to just set everything as zero despite earlier inequalities being true, is there any way to sort this?
Example doc attached