hi i need to basically look at a cell and put this forumla into cell A3

if the number in cell A1 falls between 1-3.9 put number 0
if the number in cell A1 falls between 4-9.9 put number 1
if the number in cell A1 falls between 10-19.99 put number 2
if the number in cell A1 is 20+ put number 3

i can use it with whole numbers but not with ranges

can anyone help??


Thanks