Forum Discussion

dharrshen's avatar
dharrshen
Copper Contributor
Mar 20, 2020
Solved

Formula Assistance Needed

Hi Team, 

 

Attached excel file for your reference. 

Require assistance for the following below : 

 

1. Station names are stated on column B
2. Station working hours are stated on column D & E
3. Need a formula to only calculate the downtime duration (Column J) that occurred during the station working hours alone. Downtime has been stated as Start Date (Column F), Start Time (Column G), End Date (Column H), End Time (Column I).
4. Need another formula to state if that particular downtime duration is within the working hours or not within the working hours (Column O)

 

Looking forward towards your assistance. 


Thank you. 

  • dharrshen Faust25 

    Left all your columns/formulae in place, but added 22 (!!) helper columns (grouped J:AF) with the end result in AF. The first six columns restructure the dates and time a bit so that it becomes easier to calculate with. Then I do a range of tests that are needed to calculate the overlap of down-time and working hours. 

    Not very elegant, but still manageable. And I couldn't think of a better way to do it.

6 Replies

Resources