If command to categorize integers to fall into four categories?

Welcome to the community, @macleanchiona! Maybe you could do it as outlined in the post discussed previously: