HELP with conditioning one column using other

Hello everyone, I am new to coding in documents!! specially coding in libreoffice. I’m stuck with one problem, here is the image explaining what I need your help with. Thanks for helping.

=IF(B4="Sell";ROUNDUP(F4*0.025/100;0);0)

1 Like

I was doing right then!! Was I?
And BTW, Thank you very much for the solution.