Can Excel find a value in a table based on 2 Criteria

Paul at GTS

Board Regular
Joined
May 17, 2004
Messages
56
Office Version
  1. 365
Platform
  1. Windows
Hi,
I have a product that is sold by its size. The width runs along the top of the table and the height down the side. This then forms a price matrix.

EG
100 200 300
100 1.00 1.50 2.00
200 1.75 2.50 2.75
300 4.00 4.75 5.25

So if i have a product that is 200x100 the price would be 1.50 or a 100x300 would be 4.00

My problem is that I need to get this into a few columns so I can import the individual products into our pricing system

So my prodcts are listed in size order in Cols A & B and I need to populate Col C with prices as below.

Col A Col B Col C
Width Height Price
100 100 1.00
100 200 1.50
100 300 2.00
200 100 1.75
200 200 2.50
200 300 2.75
300 100 4.00
300 200 4.75
300 300 5.25

Any ideas ?

Thanks
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Ok so your table is pasted into A1 of Sheet1 and your results in A1 of Sheet2. Then try this in C2 of your results:

=INDEX(Sheet1!$A$1:$D$4,MATCH(B2,Sheet1!$A$1:$A$4,0),MATCH(A2,Sheet1!$A$1:$A$4,0))
 
Upvote 0

Forum statistics

Threads
1,214,650
Messages
6,120,736
Members
448,988
Latest member
BB_Unlv

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