Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=MIN(B2,TIME(10,0,0))-MAX(A2,TIME(7,0,0))
-- HTH Bob Phillips (there's no email, no snail mail, but somewhere should be gmail in my addy) "Daren" wrote in message ... I have data that shows stop and end points for certain procedures. For example, something starts at 8:00 am and ends at 12:00 pm, which is a total of 4 hours. What I need to know is how much of this time occurs in a particular time band, say 7 am to 10 am, which would be three hours. I need to figure out a way to write an IF statement that will capture this. The problem I have so far is that the IF statement I've written works for many of the time bands, but it's not picking up time usage for some reason in the 7 am - 1 pm range, when time is definitely being used. Is there some other way I can write the IF statement or some way I should revise it so that it'll pick up every calculation of time usage in a particular time band? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
can excel calculate time increments in a formula? | Excel Worksheet Functions | |||
formula to calculate time difference crossing midnight | Excel Worksheet Functions | |||
calculate elapsed time between dates and times | Excel Worksheet Functions | |||
time sheet to calculate 2 different columns | Excel Worksheet Functions | |||
calculate negative or positve difference in time | Excel Discussion (Misc queries) |