HI, I'm trying to figure out the formula for this. If let's say 9:01 Am falls in between 9:00am and 4:00pm then assign it to EM. And then continuing if a time falls between 4-8pm and then 8pm to 12am and so forth. Can't seem to crack the formula here, I assumed doing a vlookup would do the trick but maybe the times are not in the correct format. Not sure, any help would be greatly appreciated.