With in my sheet I have certain things broken down and there is a corresponding date and time with in a certain amount of days. We group our days in 2 parts (days & Nights), with in that day they are 2 activity's that happen either (drilling or Sliding) we also track the Time it takes to complete each activity called ROP. I go through and highlight what part of the days I want calculated as days & what part are nights (I do this because some times over lap). My question is how do I write a formula that could go through the sheet and group all of one certain color, then go through that color and group all the activities that correspond to drilling and then add them up and give me the average time it took to complete that activity on that day.
Then do it for the other activity for that day.
Another version a little more complicated would be to include this:
It would be nice if the formula could also scan the time of day and know whether it was days or nights so that way it would know what lines to use in the calculations with out me having to highlight them first. The only problem I see is that times do have gaps so sometimes it is not easy to tell if I want that to be included on days or nights.
Any help would be great
Bookmarks