#N/B error on Match/Index formula

SteveNL86

Board Regular
Joined
Nov 11, 2014
Messages
109
Office Version
  1. 2016
Platform
  1. Windows
Dear reader,

I'm using this formula: =INDEX('List'!E5:E106;MATCH(1;('List'!B5:B106=B4)*('List'!C5:C106=C4)*('List'!D5:D106=D4);0))

On the sheet 'List' I have a list of Material in B, Size in C. Thickness in D and Price in E.

MaterialSizeThicknessPrice
Material A1530 x 305010 mm€ 68,75
Material A1220 x 244018 mm€ 93,35
Material A1220 x 244015 mm€ 73,00
Material A1220 x 244012 mm€ 57,95
Material A1220 x 244010 mm€ 45,00
Material A1220 x 24408 mm€ 44,90
Material A1220 x 24406 mm€ 32,00
Material A1220 x 24405 mm€ 32,00
Material A1220 x 24404 mm€ 24,50

On my main sheet I'm using dependent dropdown boxes to select the material, size and thickness. And depending on those choices I want the correct price for the material.

So the formula is working, I'm getting the prices for every 1220x2440 material, but it gives me an #N/B error when I select the 1530 x 3050 size. I've tried sorting the columns but I can't get it too work.

Any help would be much appreciated.
Kind regards
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Are you selecting 10mm when you select 1530 x 3050, as that is the only size you have.
 
Upvote 0
There's nothing wrong with the formula, so I suspect it's the data. Check for any extra spaces.
 
Upvote 0
Solution
As always you are a genius Fluff. For some reason there was a mistake in the data. Always great having to work with data others compiled for you, haha.
 
Upvote 0
Glad it's sorted & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,400
Messages
6,119,288
Members
448,885
Latest member
LokiSonic

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