Hi
Another way would be the LOOKUP function:
=LOOKUP(A1,{"00:00","04:00","11:00","15:00"}+0,{"E vening","Morning","Afternoon","Evening"})
You will have to remove the space after the "O" in morning as this site keeps on inserting the space for some reason!!!!
Quote:
Originally Posted by JFire
I have a column of time stamps that I need to group into
- Morning: 4AM - 11AM
- Afternoon: 11:01AM - 3PM
- Evening: 3:01PM - 3:59AM
Can you help?
|