You really need published distances from QF/airlines rather than from GCM as some sectors will differ causing SC and mileage calculation errors.
it would be nice for the sheet to calulate those distances automatically rather than having to plug in manually.
If the QF information could be easily queried or sourced, it would be achievable. Sadly its not, and per anat0l's comments - the difference margin between GCM and QF is around 1-3%, in favour of QF.
Its not a perfect solution, but it will give you a bloody good estimate that'll be so close to the actual result its not worth arguing over. I will make a note in the next release about how this is an estimate, and YMMV depending on how the carrier calculates distance between ports.
I'm not even going to entertain the work required for error recovery (e.g. what if the user doesn't know the IATA code and enters the city name instead? What if the IATA code isn't found in the database?).
Yes, that's another issue altogether. The target user of this spreadsheet is expert flyers who know the IATA codes for where they're coming from and going to. Because of the way the airport codes fields are structured, it won't let you enter anything other than an IATA code - it will simply spit back an error telling you what you've entered isn't in the relevant list.
Having said that, you can easily google for this information if you're a newbie, or go to the airport codes tab and use Excel's find feature to locate the code. Something else to add to the instructions when I type them up
ba97 seems to work out GCMs as well; I wonder what scripting they use to do that....
I chat with the guy who runs FlightMemory (similar concept to ba97) on the odd occasion, might ask him how they work out the distance between ports.
Speaking of which, where did you get that list of IATA codes from? The list isn't complete (hard to get one of those anyway, but for example AVV and REP can't be found in the list), but it probably mightn't matter once you sort of automate the GCM part.
Google is your friend :mrgreen:
List was sourced from:
International airport codes, IATA 3-letter code for airports
If you notice anything amiss, you can quickly email
[email protected] with the details and they'll update accordingly.
Also, the Wikipedia gang maintain a
list of airports with IATA and IACO codes.
One glitch I noticed: you're applying status bonuses to the MPG. For example, when I put in a MEL-ADL flight (399 miles according to GCM) with my PS status, it applies the MPG to bring me to 1000 points, then gives the 25% bonus (i.e. 1250 points). Unfortunately QF aren't as generous as you, and just give 1000 (i.e. MPG kicks in after status bonus).
Excellent, thanks for spotting that. I'll alter the calculation methods in the sheet shortly to factor this in.
Does anyone know if the same applies if the flight is eligible for a a cabin bonus? Eg: MEL-ADL in J by a PS, SG, or WP, is the math Points + Cabin Bonus + Status Bonus + MPG difference?
All in all, I'm pretty impressed that in less than 24hrs we have something reasonably useful which will do most of the heavy lifting for calculating points/SC's for trips and deals with the inadequacies and limitations of the QF calculator.