Hi all you helpful people!

Can anyone give me a formula to sort ages into the following bands please;

0-17, 18-64, 65-74, 75-84, 85+

Have loads of data and can get 3 to work but not 5 !

waiting patiently !

Thanks for your help in advance