Multi-criteria lookup while assigning single number to a numerical range

cooker6583

New Member
Joined
Aug 17, 2016
Messages
6
Hello all - trying to create multi-criteria lookup with <= and > logic. Think it's some sort of array index/match combo but cannot find any examples and haven't been able to piece it together.

Given a single number, I need to assign it to the appropriate range while also accounting for Name. I want to return the correct value depending on the targeted Factor. Any thoughts?

Here is an example of my data set structure:

ABCDEF
1NameMinMaxFactor 1Factor 2Factor 3
2Item 101500A12Green
3Item 115003000B24Blue
4Item 201500B24Yellow
5Item 215003000C24Purple
6Item 230005000D24Blue

<tbody>
</tbody>


As an example, if given Item 1 and 1600, result for a Factor 1 lookup is B because 1600 falls into the range 1500-3000.

I'm a non-VBA user...thanks in advance for the help!
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
E1: Item 1, F1: 1600, G1: Factor 1

In H1 control+shift+enter, not just enter:

=INDEX($D$2:$F$6,MATCH($E1,IF($F1>=$B$2:$B$6,IF($F1<=$C$2:$C$6,$A$2:$A$6)),0),MATCH(G$1,$D$1:$F$1,0))
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,895
Members
449,097
Latest member
dbomb1414

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