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? |
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? |
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 |
All times are GMT +1. The time now is 08:33 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com