Hello,
So I posted here about a year ago looking for some help in making my schedule better. The help was awesome and I have been using the tool that was created by one of the users here ever since.
I do have another question that I'm pretty sure can be solved using an automated script or something similar in Excel.
I'm a pilot for an airline. Each month we get whats called a bid packet. The bid packet has trips in it, which can be anywhere from 1 day trips to 5 day trips. We rate the trips based on efficiency, which is the number of hours that the trip is worth divided by the number of days you are out. For example, if you have a 4 day trip worth 20.00 hours, the efficiency is 5.0. We can fly a maximum of 8 hours per day, so the trips that are closer 8.0 for efficiency are the best to pick as they result in more time off at home (contrary to popular belief we don't all make 300k and only work 4 days a month ). The problem is that the bid packets don't come with the efficiency number already figured out.
I've boiled the bid packet down to this excel file:
BID 9-1_original.xls
Basically, what I'm trying to do with this attachment is to take the "CREDIT" of a certain trip and divide it by the number of days the trip spans. The way to determine how many days a trip is out for is rather simple. The maximum number in that row is the number of days that the trip is away from base. For example, in row 2 of the above excel spreadsheet, you should see the trip LL1*LL2*LL3*LL4*LL5. This is a five day trip. The credit it is worth is 26.21 hours. If we divide 26.21 by 5, you get 5.242. That is the efficiency of that trip.
If you go to row 115, this is where it gets a little tricky (or maybe not - you guys are much smarter than me ) you will see the trip FH. This is a day trip, and it is only 1 day of work. So it's efficiency would be 7.96 (credit of 7.96/1 day of work).
So basically, what I'm trying to get help doing is creating a script that will come up with the efficiency value and put it in a column next to credit so I can sort the trips by efficiency value (CREDIT/Number of trip days).
This is essentially the final product that I'm looking for, except I did the math myself and it took forever :
BID 9-1(20.xls
I do appreciate any help that you might be able to give!
Bookmarks