I have a similar problem, I got everything to work, except translating the math.

My lowest ADVAL is 0 and it's also the HIGHEST pressure.

I saw how the math worked out for him, but I am lost.