Index Match Match returning N/A please assistance is needed?

Waffles255

New Member
Joined
Mar 30, 2019
Messages
26
Office Version
  1. 2019
Hi Gents, i am trying to make a dynamic lookup but keep getting a N/A error i wrecked my brain but cannot seem to spot the problem, any help would greatly be appreciated?



Matrix Test.xlsx
ABCDEFGHIJ
1Transfers Prices calculator
2
3From ToNumber of paxTotal Cost PriceHelper lookupLookup Value
4JohannesburgNelspruit5#N/AJohannesburgNelspruit7
5Makuleke CampJohannesburg17Makuleke CampJohannesburg22
6JohannesburgJohannesburg17JohannesburgJohannesburg22
7JohannesburgJohannesburg17JohannesburgJohannesburg22
8JohannesburgJohannesburg17JohannesburgJohannesburg22
9 3
10 3
11 3
12 3
13 3
14 3
15 3
16
17
18
19
20
21From 371322
22JohannesburgMakuleke CampR 4,800.00R 6,800.00R 9,000.00R 13,500.00
23JohannesburgMashatu CampR 4,200.00R 6,400.00R 8,000.00R 13,000.00
24JohannesburgSelati CampR 4,000.00R 6,000.00R 7,500.00R 12,500.00
25JohannesburgKarongwe CampR 3,800.00R 5,500.00R 6,750.00R 12,000.00
26JohannesburgPridelands CampR 3,800.00R 5,500.00R 6,750.00R 12,000.00
27JohannesburgHoedspruitR 3,800.00R 5,500.00R 6,750.00R 12,000.00
28JohannesburgEast Gate AirportR 4,000.00R 5,800.00R 6,750.00R 12,500.00
29JohannesburgNelspruitR 3,200.00R 4,400.00R 5,200.00R 9,500.00
30
Input Sheet PFG
Cell Formulas
RangeFormula
E4E4=INDEX(B21:F29,MATCH(J4,B21:F21,0)*MATCH(I4,B21:B29,0))
J4:J15J4=IFS(D4<=3,"3",D4<=7,"7",D4<=13,"13",D4<=22,"22")
I5:I15I5=B5&C5
Cells with Data Validation
CellAllowCriteria
B4:C15List='Data Table'!$K$4:$K$12
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Your numbers in column J are actually text. Remove the quotes in the formula:

Excel Formula:
=IFS(D4<=3,3,D4<=7,7,D4<=13,13,D4<=22,22)

Additionally, you need two separate MATCH functions, not a multiplication:

Excel Formula:
=INDEX($C$22:$F$29,MATCH(I4,$B$22:$B$29,0),MATCH(J4,$C$21:$F$21,0))
 
Upvote 0
Solution

Forum statistics

Threads
1,215,214
Messages
6,123,660
Members
449,114
Latest member
aides

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