View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Ron Rosenfeld Ron Rosenfeld is offline
external usenet poster
 
Posts: 5,651
Default Multiple Criteria

On Tue, 25 Aug 2009 03:20:01 -0700, ggak
wrote:

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