Day4
Day4
=VLOOKUP(J3,CHOOSE({1,2},F6:F15,D6:D15),2,FALSE()) =VLOOKUP(N3,CHOOSE({1,2},F6:F15,D6:D15),2,F
In this example get the values Using VLOOKUP for the cells D2, E2, F2 and
G2 which are having the titles as First Name, Department, Extension and
Date Hired respectively.h
E({1,2},F6:F15,E6:E15),2,FALSE())
Income is Greater Than But Less Than or
Tax Rate
or Equal To… Equal To…
Enter Income: ₹ 5,000 ₹0 ₹ 2,650 15.00% Enter Income:
The Tax Rate is: 28.00% ₹ 2,651 ₹ 27,300 28.00% The Tax Rate is:
₹ 27,301 ₹ 58,500 31.00%
=VLOOKUP(B2,$D$1:$F$7,3,TRUE()) ₹ 58,501 ₹ 131,800 36.00%
₹ 131,801 ₹ 284,700 39.60% Enter Income:
₹ 284,701 45.25% The Tax Rate is:
Note: This is set up to work with whole numbers only (no decimals).
In this example find the tax rate for the given income by using VLOOKUP
Enter Income: ₹ 15,000 Enter Income: ₹ 95,000
The Tax Rate is: 28.00% The Tax Rate is: 36.00%
by using VLOOKUP
Income is Greater Than
₹0 ₹ 2,651 ₹ 27,301 ₹ 58,501
or Equal To…
Enter Income: ₹ 125,000 But Less Than… ₹ 2,650 ₹ 27,300 ₹ 58,500 ₹ 131,800
The Tax Rate is: 36.00% Tax Rate 15.00% 28.00% 31.00% 36.00%
=HLOOKUP(B2,$E$1:$J$3,3,TRUE())
Enter Income: ₹ 300,000 In this example find the tax rate for the given income by using HLOOKUP
The Tax Rate is: 45.25%
₹ 284,700
39.60% 45.25%
=INDEX(F2:F21,MATCH(B1,D2:D21,0))
In this example use Index and Match function to get the
amount from the table with respect to the given date.
Match Funchtion
It returns column or row index number from a selected list of array.
Index
It will return the value for you at te intersection of a row and a column
-2 -1 0 1 2 3
Country Customer Cust_ID Product Qty Amount
India Ramco corp ID_501 Mango 187 168300
Singapore Seeta Corp ID_502 Orange 240 42000
New Zealand John p ltd ID_503 Pineapple 424 74200
Australia Sydney co ltd ID_504 Pineapple 241 42175
Egypt Abc Intl ID_505 Mango 342 307800
Dubai DB Corp ID_506 Orange 126 22050
France France co ltd ID_507 Pineapple 461 80675
Italy IT LTD ID_508 Mango 207 186300
Germany Gem co ltd ID_509 Orange 243 42525
Canada Candid Corp ID_510 Orange 121 21175
USA US co ltd ID_511 Mango 485 436500
Cust_ID Country Product Customer
ID_504 Australia Pineapple Sydney co ltd
ID_509 Germany Orange Gem co ltd
ID_511 USA Mango US co ltd
ID_506 Dubai Orange DB Corp
ID_502 Singapore Orange Seeta Corp
=OFFSET($E$3,MATCH(K4,$E$4:$E$14,0),-2)
Amount
42175
42525
436500
22050
42000
MATCH(K4,$E$4:$E$14,0),-2)
Qty
187
424
342
207
121
2,$E$3:$E$14,0),MATCH(L$11,myTable,0))
P1 P2 P3 P4
Jan 59 74 97 96
Feb 78 70 65 84
Mar 98 88 90 80
Apr 59 94 96 71
May 79 98 81 63
Jun 52 63 51 98
Jul 83 74 67 86
Aug 90 55 57 83
Sep 67 72 82 76
Oct 54 93 84 79
Nov 52 63 78 58
Dec 76 79 95 85