HI,
looks like you just need to enter the Fomula =CR-Cell*300, i.e. if you enter the CR in Cell A4 the Formula goes =A4*300.
If you need some more conditions, you need multiple IF-Functions (I think there are IF-Functions, in our German-versions there are WENN-Functions), the function should be...