The value of LenX which is returned is in inches, even when the model is in centimetres. So you need to compare with LenX * 2.54 e.g.:

=NEAREST(CURRENT("LenX")*2.54,350,450,820,900)