Simple request (I think) but I'm having a really hard time with it.

kogur

New Member
Joined
Jul 28, 2014
Messages
15
So I am having a really difficukt time with something I 'think' should be very simple:

Master Data| Supplement Data

Value 1 | Value a| Value b| Value c| Value d| Value e
Value 2
| Value a| Value b| Value c| Value d| Value e
Value 3
| Value a| Value b| Value c| Value d| Value e
Value 4
| Value a| Value b| Value c| Value d| Value e
Value 5
| Value a| Value b| Value c| Value d| Value e
Value 6
| Value a| Value b| Value c| Value d| Value e
Value 7
| Value a| Value b| Value c| Value d| Value e
Value 8
| Value a| Value b| Value c| Value d| Value e
Value 9
| Value a| Value b| Value c| Value d| Value e
Value 10
| Value a| Value b| Value c| Value d| Value e
Value 11
| Value a| Value b| Value c| Value d| Value e

What I'm trying to do is:

=If A1= value a-e on line 1 return value 1, else if value a-e on line 2 return value 2, else if...so on through value 11.

What is the simplest (hopefully non VBA) method of getting this accomplished?

Thank you all!!!
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
It's not especially simple actually, since there's no dedicated function to do this. You can do it with a combination of functions like this:

ABCDEFGHI
1447V9Master DataSupplement Data
2V1250256196273161
3V2326149398458157
4V33111201282797
5V450319291287171
6V544214343643859
7V650030765493113
8V725542123366288
9V83696186390
10V9272488328447335
11V1038218616532499
12V113582753105

<tbody>
</tbody>
Sheet4

Worksheet Formulas<tbody
</tbody
CellFormula
B1=IFERROR(LOOKUP(2,1/MMULT(--(E2:I12=A1),{1;1;1;1;1}),D2:D12),"Not found")

<tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,035
Messages
6,122,785
Members
449,095
Latest member
m_smith_solihull

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