How to check if time falls between two ranges

Joined
Dec 29, 2011
Messages
6
Reaction score
0
Hi all,
I need to be able to check if a cell falls in between of 2 dates in a list. I don't need to calculate the difference between times or only return a True or False, but instead find what shift the particular time in the cell corresponds with.

Attached is a sample sheet of what I'm looking for. I need to be able to take the TRANSDATE and return what SHIFT it falls in which DEPT.

The reason I don't want to hard code this into the formula is because the shifts change frequently depending on our customer demand, overtime, etc. I'm thinking it may have to be an INDEX and MATCH, but I'm not sure how to set them up.

Any help appreciated.
 

Attachments

  • ShiftSamplexls.zip
    6.5 KB · Views: 94

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top