Multiple Criteria

  • Thread starter Thread starter ggak
  • Start date Start date
G

ggak

I am working on a roster. I need to return results based on the length of the
shift.

For Example:

A1: Start B1: End

08:00 20:00

If the start time is 08:00 And the end time is 20:00 I need to return the
following

Morning 05:30 Afternoon 05:30

Any ideas?
 
Do you mean to return text Morning 05:30 Afternoon 05:30


=IF(AND(A1=TIMEVALUE("08:00"),B1=TIMEVALUE("20:00")),"Morning 05:30
Afternoon 05:30","")

If this post helps click Yes
 
I am working on a roster. I need to return results based on the length of the
shift.

For Example:

A1: Start B1: End

08:00 20:00

If the start time is 08:00 And the end time is 20:00 I need to return the
following

Morning 05:30 Afternoon 05:30

Any ideas?


I would assume you are not looking for something simplistic, but rather are
calculating the 05:30 in each instance.

You should start by defining Morning and Afternoon. How do you derive the
05:30 in each of those cases?

--ron
 
Back
Top