Ok, but I'l still not comfortable with the math

1. Enter P17
2. Enter P18
3. If P18 <> 0 then P19 = P17 / P18

4. Enter Q17
5. Then what???

If P19 > 0 then P17 = Q17 / P19 * 100

???

Capture.JPG

Part of my problem is that I think the UOM are messed up

F17 looks like UOM = #Tons (manually entered)
F18 looks like UOM = $/Ton (manually entered)
F19 looks like UOM = Total cost in $1000 = #Tons * $/Ton /1000 to get cost in K$ (calculated)

It's the col Q cells where I get confused