If you want to show 0 then in solution by Gregb11, write 0 instead of "" and in my solution from post #2 write 0 instead of "F5<>4"

Trying to guess where would you like the output (not obvious for me looking at the file attached) May be in column E? and relate to numbers from in the same row it could be:
Formula: copy to clipboard
=if(A2=2,ROUNDUP(D2/B2,0)*C2,0)


@Gregb11: Are you sure it shall be ROUNDDOWN - I'm pretty sure ROUNDUP shall be used. As I understand, for say 150 (so between 0 and 300) the result shall be already 1*86, not 0*86