How about
Formula: copy to clipboard
=if(f29<250,25,if(f29<=500,35,45))