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:
<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!
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:
A | B | C | D | E | F | |
1 | Name | Min | Max | Factor 1 | Factor 2 | Factor 3 |
2 | Item 1 | 0 | 1500 | A | 12 | Green |
3 | Item 1 | 1500 | 3000 | B | 24 | Blue |
4 | Item 2 | 0 | 1500 | B | 24 | Yellow |
5 | Item 2 | 1500 | 3000 | C | 24 | Purple |
6 | Item 2 | 3000 | 5000 | D | 24 | Blue |
<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!