Use this instead:

=IF(F4=0,0,MAX(4,CEILING(F4,0.5)))

Hope this helps.

Pete