# MATCH and LOOKUP prob

#### Jornyboy

##### Board Regular
Greetings and Salutation all!

Im currently building a table that requires a fairly complex formula that I keep stuffing up...

Basically, Column A has two customer categories (A and B), column B has 3 customer subcategories (A,BC) and then columns C - F have various fields returning product information.

What I currently have is a sheet that the customer enters if they are category A or B, Subcategory A, B or C, then it returns the relevant product information in C-F. For example, Customer with a category A, Subcategory C, will return the values in C-F, all of which are returned to a unique cell.

Help!

Regards

John.

### Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

#### Fergus

##### Well-known Member
Hi John,

Can you use additional columns, which you could hide? If so does the following help:
Book2
ABCDEFGHIJK
1CustCatSubCatsProductInformationSummaryCustomerDataEntryProduct
2AAAA11111111AC3333
3ABAB22222222
4ACAC33333333
5BABA44444444
6BBBB55555555
7BCBC66666666
8CACA77777777
9CBCB88888888
10CCCC99999999
Sheet2

Customers enter their data in I2 and J2 and the formula in K2 is: =INDEX(D2:H10,MATCH(I2&J2,C2:C10,0),5)

Replies
15
Views
1K
Replies
0
Views
106
Replies
0
Views
215
Replies
5
Views
95
Replies
0
Views
135

1,181,622
Messages
5,931,002
Members
436,770
Latest member
Student_Engineer

### 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.

### Which adblocker are you using?

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

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