Frequent Flier
Frequent Flier
Frequent Flier
The frequent flyer scheme of Indian Airlines (IA) offers free travel to IA customers for
mileage points earned by them through earlier travels. The cities and mileage points
required to avail a free ticket to those cities are given in the IAFF Mileage Points Table on
the IA website. A segment of the table is rearranged (in the ascending order of points
required) and reproduced in columns A to C (rows 1-14) of the spreadsheet below.
A B C D E F G H
IA Frequent Flyer Mileage Points Table (Ahmedabad Segment)
1
The flying points earned by a customer are given in cell G3. Also the class and city to
which the customer is interested to travel using free entitlement is given in cells G4 and G5
respectively. The formulae you develop for the questions below should work with any valid
data entered in these cells.
Questions
Enter a formula in cell H4 to obtain the column number in the table A3:C14 of the class in
cell G4. For example, if the class given in G4 is Economy, the value in H4 should be 3. Use
this result in subsequent questions, to simplify the formulae where ever possible.
Formula:
Enter a formula in cell H5 Yes No
whether the points given in G3 are adequate (Yes) or not adequate (No) to travel by the class
in G4 to the city in G5. For example, with 12000 points, the customer can travel free by
Economy class to the desired city Delhi (required points 9540) and therefore the output
4
should be Yes for this data. Formula:
Enter a formula in cell G7 to obtain the farthest possible city the customer can travel free
with the points accrued (given in G3), by the class given in G4. For example, with 12000
points, the farthest city the customer can travel free by Economy class is Hyderabad.
Formula:
Enter a formula in cell G8 to obtain the balance mileage points; i.e. the difference of points
accrued and points required to travel by the class in G4 to the farthest city obtained in G7.
For example, with 12000 points, after travelling to the farthest city (Hyderabad) in
Economy class, the balance is 1140 (12000- 10860).
Formula:
Extension: Re-develop solutions to the above, if more than two classes are to be
considered.