All of these formulas are working. I'll test which one is the faster to calculate.

Thanks