lawrencecis
New Member
- Joined
- Oct 21, 2013
- Messages
- 5
Hi everyone,
I'm having an interesting but difficult issue. I've searched Google and this forum, but still can't figure it out.
I am taking ranges of time and then need to break them down into two categories -- day time hours and night time hours -- and need to repeat this process daily. I am inputting a range, like 6:16:10 - 23:57:04. The problem I am facing is that even though I do an "if" function,<j37),"1", 2))="" the="" function="" is="" activated="" for="" number="" of="" beginning="" range="" (i.e.="" 6:16:10),="" but="" not="" all="" numbers="" inside="" range.="" example,="" i="" would="" like="" excel="" to="" recognize="" time="" from="" 23:00:00-23:57:04="" or="" difference="" (00:57:04)="" should="" be="" designated="" at="" "night="" hours"="" in="" order="" multiplied="" by="" $1.=""
the "if" function is only taking into account the first number in the range (i.e. 6:16:10). I would like the new function to be able to categorize/recognize all the time during a specific range as "night" or "day" time, like 23:00:00 - 23:57:04 would be marked as "night" and then I would be able to multiple it by $1. </j37),"1",>
<j37),"1", 2))="" the="" function="" is="" activated="" for="" number="" of="" beginning="" range="" (i.e.="" 6:16:10),="" but="" not="" all="" numbers="" inside="" range.="" example,="" i="" would="" like="" excel="" to="" recognize="" time="" from="" 23:00:00-23:57:04="" or="" difference="" (00:57:04)="" should="" be="" designated="" at="" "night="" hours"="" in="" order="" multiplied="" by="" $1.=""
If anyone could help I would appreciate it. </j37),"1",>
I'm having an interesting but difficult issue. I've searched Google and this forum, but still can't figure it out.
I am taking ranges of time and then need to break them down into two categories -- day time hours and night time hours -- and need to repeat this process daily. I am inputting a range, like 6:16:10 - 23:57:04. The problem I am facing is that even though I do an "if" function,<j37),"1", 2))="" the="" function="" is="" activated="" for="" number="" of="" beginning="" range="" (i.e.="" 6:16:10),="" but="" not="" all="" numbers="" inside="" range.="" example,="" i="" would="" like="" excel="" to="" recognize="" time="" from="" 23:00:00-23:57:04="" or="" difference="" (00:57:04)="" should="" be="" designated="" at="" "night="" hours"="" in="" order="" multiplied="" by="" $1.=""
the "if" function is only taking into account the first number in the range (i.e. 6:16:10). I would like the new function to be able to categorize/recognize all the time during a specific range as "night" or "day" time, like 23:00:00 - 23:57:04 would be marked as "night" and then I would be able to multiple it by $1. </j37),"1",>
<j37),"1", 2))="" the="" function="" is="" activated="" for="" number="" of="" beginning="" range="" (i.e.="" 6:16:10),="" but="" not="" all="" numbers="" inside="" range.="" example,="" i="" would="" like="" excel="" to="" recognize="" time="" from="" 23:00:00-23:57:04="" or="" difference="" (00:57:04)="" should="" be="" designated="" at="" "night="" hours"="" in="" order="" multiplied="" by="" $1.=""
If anyone could help I would appreciate it. </j37),"1",>
Last edited: