I have a schedule program that I use to gather data from which lists whether or not a person is listed to fly an aircraft at a time or if they have been dispatched. If they are scheduled for a person or maintenance they can be one of several colors but if they are dispatched they are always the same color. My excel sheet currently loads the downloaded schedule into an area and then counts the colors in each cell just fine, but recently we ran into a small issue.
See we count a dispatched aircraft as being available to customers if they are dispatched. The problem is that we don't want to count if it was a maintenance flight as it was not available to customers.
What i'm tying to find is a way that we can tell if a block was a maintenance flight (MX flight) and subtract it from our total available time. A block is from one name to another..so b2:b5 is a block of 2 hours.
<tbody>
</tbody>
For the example assume that the colors of all the blocks from B2:d11 are the same
So Aircraft one had 3.5 hours of mx flights and was available for 1.5 hours
Aircraft 2 had 1.5 hours of mx flight and was available for 3.5
Aircraft 3 had 1 hour of mx flight and was available for 4 hours
The system needs to work across many columns as the fleet of aircraft changes and it needs to happen automatically when the data is loaded.
Any help you guys can give would be great! Thanks!
-Shawn
See we count a dispatched aircraft as being available to customers if they are dispatched. The problem is that we don't want to count if it was a maintenance flight as it was not available to customers.
What i'm tying to find is a way that we can tell if a block was a maintenance flight (MX flight) and subtract it from our total available time. A block is from one name to another..so b2:b5 is a block of 2 hours.
a | b | c | d | |
1 | Time | Aircraft #1 | aircraft #2 | Aircraft #3 |
2 | 1:00 | Mx Flight | Janes flight | Mx flight |
3 | 1:30 | |||
4 | 2:00 | Mx flight | Mikes flight | |
5 | 2:30 | |||
6 | 3:00 | Bobs flight | ||
7 | 3:30 | Joes flight | ||
8 | 4:00 | Marrys flight | ||
9 | 4:30 | Mx flight | ||
10 | 5:00 | |||
11 | 5:30 | |||
12 | 6:00 | End of day | End of day | End of day |
<tbody>
</tbody>
For the example assume that the colors of all the blocks from B2:d11 are the same
So Aircraft one had 3.5 hours of mx flights and was available for 1.5 hours
Aircraft 2 had 1.5 hours of mx flight and was available for 3.5
Aircraft 3 had 1 hour of mx flight and was available for 4 hours
The system needs to work across many columns as the fleet of aircraft changes and it needs to happen automatically when the data is loaded.
Any help you guys can give would be great! Thanks!
-Shawn