2-D Lookup (Horizontal + Vertical) - HLOOKUP w. MATCH

Advanced Excel Crash Course Section 11: Lookup and Conditional Calculations
6 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€96.21
List Price:  €134.70
You save:  €38.49
£79.77
List Price:  £111.68
You save:  £31.91
CA$143.95
List Price:  CA$201.54
You save:  CA$57.58
A$160.33
List Price:  A$224.47
You save:  A$64.14
S$135.93
List Price:  S$190.31
You save:  S$54.37
HK$776.63
List Price:  HK$1,087.32
You save:  HK$310.68
CHF 90.06
List Price:  CHF 126.09
You save:  CHF 36.02
NOK kr1,139.30
List Price:  NOK kr1,595.07
You save:  NOK kr455.76
DKK kr717.87
List Price:  DKK kr1,005.05
You save:  DKK kr287.17
NZ$177.29
List Price:  NZ$248.21
You save:  NZ$70.92
د.إ367.26
List Price:  د.إ514.17
You save:  د.إ146.91
৳11,945.58
List Price:  ৳16,724.30
You save:  ৳4,778.71
₹8,518.63
List Price:  ₹11,926.43
You save:  ₹3,407.79
RM448.65
List Price:  RM628.13
You save:  RM179.48
₦154,771.52
List Price:  ₦216,686.32
You save:  ₦61,914.80
₨27,852.21
List Price:  ₨38,994.21
You save:  ₨11,141.99
฿3,415.60
List Price:  ฿4,781.97
You save:  ฿1,366.37
₺3,525.07
List Price:  ₺4,935.24
You save:  ₺1,410.17
B$620.23
List Price:  B$868.35
You save:  B$248.12
R1,852.48
List Price:  R2,593.54
You save:  R741.06
Лв188.12
List Price:  Лв263.38
You save:  Лв75.25
₩146,004.73
List Price:  ₩204,412.46
You save:  ₩58,407.73
₪366.53
List Price:  ₪513.16
You save:  ₪146.62
₱5,844.26
List Price:  ₱8,182.20
You save:  ₱2,337.93
¥15,707.80
List Price:  ¥21,991.55
You save:  ¥6,283.75
MX$2,012.91
List Price:  MX$2,818.16
You save:  MX$805.24
QR364.43
List Price:  QR510.22
You save:  QR145.78
P1,382.66
List Price:  P1,935.78
You save:  P553.12
KSh12,923.70
List Price:  KSh18,093.70
You save:  KSh5,170
E£5,089.49
List Price:  E£7,125.49
You save:  E£2,036
ብር12,725.10
List Price:  ብር17,815.66
You save:  ብር5,090.55
Kz91,190.88
List Price:  Kz127,670.88
You save:  Kz36,480
CLP$99,038.09
List Price:  CLP$138,657.29
You save:  CLP$39,619.20
CN¥729.75
List Price:  CN¥1,021.68
You save:  CN¥291.93
RD$6,065.06
List Price:  RD$8,491.33
You save:  RD$2,426.27
DA13,522.10
List Price:  DA18,931.49
You save:  DA5,409.38
FJ$232
List Price:  FJ$324.81
You save:  FJ$92.81
Q770.19
List Price:  Q1,078.30
You save:  Q308.10
GY$20,913.42
List Price:  GY$29,279.63
You save:  GY$8,366.20
ISK kr13,961.60
List Price:  ISK kr19,546.80
You save:  ISK kr5,585.20
DH1,005.73
List Price:  DH1,408.06
You save:  DH402.33
L1,844.84
List Price:  L2,582.85
You save:  L738.01
ден5,920.21
List Price:  ден8,288.54
You save:  ден2,368.32
MOP$800
List Price:  MOP$1,120.03
You save:  MOP$320.03
N$1,842.15
List Price:  N$2,579.09
You save:  N$736.93
C$3,678.44
List Price:  C$5,149.97
You save:  C$1,471.52
रु13,621.60
List Price:  रु19,070.79
You save:  रु5,449.18
S/372.86
List Price:  S/522.02
You save:  S/149.15
K405.52
List Price:  K567.74
You save:  K162.22
SAR375.60
List Price:  SAR525.86
You save:  SAR150.25
ZK2,766.47
List Price:  ZK3,873.18
You save:  ZK1,106.70
L478.77
List Price:  L670.30
You save:  L191.52
Kč2,420.15
List Price:  Kč3,388.31
You save:  Kč968.16
Ft39,675.18
List Price:  Ft55,546.85
You save:  Ft15,871.66
SEK kr1,106.30
List Price:  SEK kr1,548.87
You save:  SEK kr442.56
ARS$102,565.23
List Price:  ARS$143,595.42
You save:  ARS$41,030.19
Bs692.24
List Price:  Bs969.16
You save:  Bs276.92
COP$438,826.54
List Price:  COP$614,374.71
You save:  COP$175,548.17
₡50,760.09
List Price:  ₡71,066.16
You save:  ₡20,306.06
L2,539.15
List Price:  L3,554.92
You save:  L1,015.76
₲780,390.60
List Price:  ₲1,092,578.06
You save:  ₲312,187.46
$U4,451.49
List Price:  $U6,232.27
You save:  $U1,780.77
zł411.19
List Price:  zł575.68
You save:  zł164.49
Already have an account? Log In

Transcript

Hello, everybody, hope you enjoy the benefits of V lookup and match. And in fact, if you had gone through our videos on indirect formula, the know now that V lookup match plus indirect makes it a three dimensional lookup. Well, in context of that, let me now add another flavor to this entire lookup strategy that is h lookup with match, although we look up with match will suffice your need. But let me also show you with the same logic lines, how h lookup can be combined with match formula using this example. Now, what I have before me is a sheet from the insurance advisor. And life insurance covered amount is provided in column A.

So all these are hypothetical amounts. It says in case the age is more than or equal to zero, that means up to 25. These are the premium amount you must be for example, if I wish to take a cover of let's say one lap That is one 10th of a million, and my age happens to be 24, then what is the premium I must pay, I would be paying a premium of 1049. Now, in case my age touches 26. In fact, I then should be liable to pay the premium amount in the manner of 1377. So, I shouldn't be able to get an answer immediately automatically in this blank cell.

So one variable is placed horizontally, and that happens to be age and one variable is placed vertically, and that happens to be the life cover the sum insured. So how do I apply h lookup with a match? Well, let me first tell you the basic difference between V lookup and matching h lookup and match. If you remember from our previous discussion, Jr. follows SR strategy. The V lookup covers the entire table and match assists by choosing just the header values. That is a junior Junior follows senior right.

Now, since the lookup requires column index number, hence we applied match in the header. But h lookup requires row index number and that is the reason we will be putting match formula on the first column of the entire table selection. So h lookup will look up for the entire table array. And match will assist h lookup by looking inside this row index number, the first column, keeping that in mind, let me begin writing h lookup with match formula. Let me expand the entire screen. So here it goes.

Equals h lookup, Tab key. HL TAB key will give you the H lookup bracket open. Now lookup value is going to be age is it going to be some insured since it is h lookup it is going to be something which is can be found in the header and that happens to be age, comma, next table array whatever Do just ensure that the first row of your selection must contain the common link of age that is a prerequisite of H lookup. So you cannot choose the data like this, this will be incorrect, the selection must begin from the header which includes the age. So from there, shift control down, I press immediately f4 to freeze it, comma. I'll reserve a seat for match immediately closing a bracket and then comma.

Now question is do I put zero or do I put one since h lookup is looking for 26 and 26 or 29 or 32, whatever that age be, I need an approximate match and remember from our old discussion, if you have a data based on a slab, in ascending order, placed in more than equal to format, you will have to give one and that is what we have done approximate match with the three conditions now Let me go to match what I go to look for, you're going to look for the sum insured. Why? Because that is what I'm going to find in the vertical pleased column. So I look up for the one lakh comma, do I choose from the 550 thousand or some insured? Well, if you remember the junior follow senior principle, you would recommend me that I must choose the self selection from the word some In short, Shift Ctrl down, immediately pressing f4 to freeze it.

Notice the dollar has been placed correctly and comma. Now ask yourself do I put zero or do I put one if you put zero it means exact match. You may be looking for a sum insured let's say one lakh 20,000 Well, there is no one lakh 20,000 out here. So you are looking at a data which is placed in a slab, ascending order and more than equal to hence I'm going to put one Let me press Enter. And let's see what it gives me. So as expected 26 age one lakh cover 1377 And if I change the age to, let's say, 35 steam power, but movement, I put, let's say 36, then notice the premium amount, it's going to turn to 1852.

So that is how it is working with a slab based data, the slab exists in the age as well as the sum insured. And the same logic applied and given that as a solution in the next sheet, so this was h lookup with match. And remember, when you are applying h lookup with match, this is how it is going to look like where the JR is placed on the first column and jr follows Sr. So that was one quick example of H lookup with match. And if you want I can quickly write V lookup with match just beside it. So we look up look for that variable which is given vertically.

So hence I'm choosing not age, which I chosen an H lookup, I'm choosing the sum insured that is the variable given vertically, comma, I start from the center selection first column that is a prerequisite of V lookup, it must contain the common link Shift Ctrl right is the shortcut key which I'm using to choose the entire data pressing f4 comma, reserving a seat for match. And then noticing that the data is in a slab vertically I'll be putting one and match match please look for something that is present horizontally the header. So match look for age 36, comma, were Junior follow senior and I press f4 comma zero. No, it has to be one because this is where the slab base data does exist. Enter. So yes, you are getting the same answer.

Either you apply h lookup with match or V lookup with match. practice those and hope you enjoy it.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.