Hi

Easiest way would be to build a vlookup table to bring back your required output.

rylo