Sunteți pe pagina 1din 7

city executive economy

varodra 2880 1920


mumbai 8280 5520
jaipur 9840 6560
delhi 14160 9540 flying point 10000
hyd 16290 10860 class economy 3
muscat 17600 13000 Free traveldelhi yes
sharjah 17600 13040 Fatherest City delhi
kuwait 20100 14900 Balance Pts 460
bangalore 23220 15480
bhutan 26220 17480
kolkotta 35160 23440
delhi
Functions to fetch values in a range of cells:
Vlookup : to look into vertically organized ranges
Hlookup : to look into horizontally organized ranges
Index : to fetch values from a range by giving the position (row or column or
Match : to obtain the position number of the match of a given value in the ar
Offset : to obtain a range address which is offset by a
specified number of rows and columns from a given range

Solution steps:
1. Use of exact MATCH to fetch column number of the selected option

2. Use of IF and VLOOKUP to check the feasibility of choice

3. Use of range MATCH (True option), IF and INDEX (single column) to obtain farthest city
or IF and LOOKUP functions

4. Use of VLOOKUP to compute balance points

5. Use of OFFSET function to tackle more than two classes


Offset(range,rows,cols,h,w) => address of range which is offset from specified range
n (row or column or both)
iven value in the array

to obtain farthest city

from specified range


Example 1: Example 2:

Name HR BB K short longer Name HR


Nomar Gar 12 28 17 |||||||||||| 12 |||||||||||||||||||||||| 12 Nomar Gar 12
Albert Puj 32 57 26 |||||||||||||||||||||||||||||||| 3 ||||||||||||||||||||||||||||||||||||||||||||||||||||||| Albert Puj 32
Scott Hat 9 43 21 ||||||||| 9 |||||||||||||||||| 9 Scott Hat 9
Lance Be 26 50 64 |||||||||||||||||||||||||| 26 |||||||||||||||||||||||||||||||||||||||||||||||||||| 26 Lance Be 26
Travis Haf 29 72 74 ||||||||||||||||||||||||||||| 29 ||||||||||||||||||||||||||||||||||||||||||||||||||||||| Travis Haf 29
Justin Mo 25 27 60 ||||||||||||||||||||||||| 25 |||||||||||||||||||||||||||||||||||||||||||||||||| 25 Justin Mo 25
Lyle Over 16 34 57 |||||||||||||||| 16 |||||||||||||||||||||||||||||||| 16 Lyle Over 16
Paul Kone 24 39 56 |||||||||||||||||||||||| 24 |||||||||||||||||||||||||||||||||||||||||||||||| 24 Paul Kone 24
Nick John 14 63 53 |||||||||||||| 14 |||||||||||||||||||||||||||| 14 Nick John 14
Shea Hill 12 14 40 |||||||||||| 12 |||||||||||||||||||||||| 12 Shea Hill 12
Example 3:

BB K BB-K Name HR BB K
28 17 11 ||||| Nomar Gar 12 28 17
57 26 31 ||||||||||||||| Albert Puj 32 57 26
43 21 22 ||||||||||| Scott Hat 9 43 21
50 64 -14 ||||||| Lance Be 26 50 64
72 74 -2 | Travis Haf 29 72 74
27 60 -33 |||||||||||||||| Justin Mo 25 27 60
34 57 -23 ||||||||||| Lyle Over 16 34 57
39 56 -17 |||||||| Paul Kone 24 39 56
63 53 10 ||||| Nick John 14 63 53
14 40 -26 ||||||||||||| Shea Hill 12 14 40
o
o
o
o
o
o
o
o
o
o

S-ar putea să vă placă și