#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Multiple Criteria

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?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Multiple Criteria

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
---------------
Jacob Skaria


"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?

  #3   Report Post  
Posted to microsoft.public.excel.misc
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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count multiple cells against multiple criteria in an Excel spreads EricB Excel Worksheet Functions 7 June 3rd 08 09:09 PM
match multiple criteria ina range from multiple criteria multiplet RG Excel Worksheet Functions 8 September 28th 07 04:21 AM
Index & Match functions - multiple criteria and multiple results [email protected] Excel Worksheet Functions 4 May 2nd 07 03:13 AM
Counting Cells with multiple criteria.One criteria supporting wild Azhar Saleem Excel Worksheet Functions 1 January 12th 05 10:54 AM
Counting Cells with multiple criteria.One criteria supporting wild Azhar Arain Excel Worksheet Functions 1 January 12th 05 08:33 AM


All times are GMT +1. The time now is 03:29 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"