INDEX MATCH

j4ymf

Well-known Member
Joined
Apr 28, 2003
Messages
755
Office Version
  1. 365
Platform
  1. Windows
Good Evening

Im looking to create an index match but its not working unless i type the exact match, can you match a =>
if you look at my second table, how would i return the yellow query prices when the match is not in the lookup table?


Thank you in advance.


FS Rate Builder v8.xlsm
ABC
1Intumescent Batt and Mastic0.02518.90
2Intumescent Batt and Mastic0.0527.70
3Intumescent Batt and Mastic0.141.00
4Intumescent Batt and Mastic0.255.10
5Intumescent Batt and Mastic0.368.40
6Intumescent Batt and Mastic0.478.40
7Intumescent Batt and Mastic0.590.40
8Intumescent Batt and Mastic0.693.30
9Intumescent Batt and Mastic0.7106.00
10Intumescent Batt and Mastic0.8114.40
11Intumescent Batt and Mastic0.9122.80
12Intumescent Batt and Mastic1135.70
13
14Wall Head - Linear Batt and Mastic10023.00
15Wall Head - Linear Batt and Mastic20030.00
16Wall Head - Linear Batt and Mastic40047.00
17
18Trapezoidal Infills - Linear Meter5035.00
19Trapezoidal Infills - Linear Meter10045.00
20Trapezoidal Infills - Linear Meter20061.00
21
22Wrap or High Expansion Mastic5520.00
23Wrap or High Expansion Mastic10920.00
24Wrap or High Expansion Mastic11026.00
25Wrap or High Expansion Mastic15926.00
26Wrap or High Expansion Mastic16033.00
27Wrap or High Expansion Mastic30033.00
28
29Horizontal / Vertical Joints - Linear Mastic Seal307.80
30Horizontal / Vertical Joints - Linear Mastic Seal1007.80
31
32Collars - Mulcol 550.00
33Collars - Mulcol 1090.00
34Collars - Mulcol 1100.00
35Collars - Mulcol 1590.00
36Collars - Mulcol 1600.00
37Collars - Mulcol 3000.00
38
39Collars - Protecta / Rockwool5523.00
40Collars - Protecta / Rockwool10923.00
41Collars - Protecta / Rockwool11028.00
42Collars - Protecta / Rockwool15928.00
43Collars - Protecta / Rockwool16035.00
44Collars - Protecta / Rockwool30035.00
45
46Mastic Only Penetration0.02518.90
47Mastic Only Penetration0.0527.70
48Mastic Only Penetration0.141.00
49Mastic Only Penetration0.255.10
50Mastic Only Penetration0.368.40
51Mastic Only Penetration0.478.40
52Mastic Only Penetration0.590.40
53Mastic Only Penetration0.693.30
54Mastic Only Penetration0.7106.00
55Mastic Only Penetration0.8114.40
56Mastic Only Penetration0.9122.80
57Mastic Only Penetration1135.70
Sell Rates (2)
Cell Formulas
RangeFormula
C1:C12C1='% Format'!I9
C14:C16,C25:C26C14='% Format'!I24
C18:C20,C23:C24C18='% Format'!I29
C22C22='% Format'!I34
C27C27='% Format'!I36
C29C29='% Format'!I23
C30C30='% Format'!I23
C39C39='% Format'!I39
C40:C41C40='% Format'!I39
C42:C43C42='% Format'!I40
C44C44='% Format'!I41
C46:C57C46='% Format'!I9



FS Rate Builder v8.xlsm
BCDEF
4Intumescent Batt and Mastic1.0010001000£135.70
5Mastic Only Penetration0.018080£18.90
6Intumescent Batt and Mastic0.30550545£68.40
7Intumescent Batt and Mastic0.12400300£18.90
8Intumescent Batt and Mastic0.15250600£18.90
9
10£260.80
11
12
BoM Quote Checker
Cell Formulas
RangeFormula
F4F4=INDEX('Sell Rates (2)'!C:C,MATCH(1,($B$4='Sell Rates (2)'!A:A)*(C4='Sell Rates (2)'!B:B),0))
C4:C5,C7:C8C4=D4*E4/1000000
F6F6=INDEX('Sell Rates (2)'!C:C,MATCH(1,($H$4='Sell Rates (2)'!A:A)*(C6='Sell Rates (2)'!B:B),0))
F10F10=SUM(F4:F9)
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Can you post the formula that is giving the error as well the cells where it occurs, and the cells that contain the arguments for the calculation? Please.
 
Upvote 0
how would i return the yellow query prices
I'm not sure how you get those last two yellow values? :confused:
But does this help?
I recommend that you do not use whole column references in the formulas. I have used 1,000 rows but just make sure that is big enough to accommodate any data you might have.

j4ymf.xlsm
BCDEF
4Intumescent Batt and Mastic110001000135.7
5Mastic Only Penetration0.0064808018.9
6Intumescent Batt and Mastic0.2997555054568.4
7Intumescent Batt and Mastic0.1240030055.1
8Intumescent Batt and Mastic0.1525060055.1
BoM Quote Checker
Cell Formulas
RangeFormula
C4:C8C4=D4*E4/1000000
F4:F8F4=INDEX(SORT(FILTER('Sell Rates (2)'!B$1:C$1000,('Sell Rates (2)'!A$1:A$1000=B4)*('Sell Rates (2)'!B$1:B$1000>=C4)),1),1,2)
 
Upvote 0
Hello Peter

sorry for the late reply, but i would like to say thank you as this works fantastic

" Thank you " :)👍
 
Upvote 0
You're welcome. Thanks for the follow-up (it doesn't need to be immediate). :)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top