Help with comparison use if

Hi guys.
I’m in doubt I have this Excel with data from 100 cities, I need to compare column C of the number of inhabitants, as follows:
If it is < 15000 I need to separate it into group 1
If > 15001 < 30000 = group2
If > 30001 = group 3

I need to create a new column to add the IF results

I can’t use for each and if

Welcome to the Forum
Have a Look below on how WE can Map Ranges to Segments