prodigy157
New Member
- Joined
- May 30, 2018
- Messages
- 3
See my example table below.
<tbody>
</tbody>
Two things:
1. I want to look up the order with the highest cost, as long as certain height and weight requirements are met. For example, what's the most expensive order with a yellow height of no more than 45 and a v2 weight no more than 5000. The answer is order 25, but how do i build a formula to show this.
2. going back to the example above, in addition to being able to list the one with the highest cost, I want to be able to lookup ALL orders that meet the criteria, and have those go into a drop down list, or some other way of showing multitple lookup answers in a single cell. In this case, the correct answers are order 20, 22, 23 and 25.
I've searched the internet a lot and played around with VLOOKUP, MIN, MAX, array formulas, etc., but I'm just going in circles, can't figure it out. Thanks in advance for the help!
order # | cost | red height | yellow height | orange height | v1 weight | v2 weight | v3 weight |
Order 20 | 2,160 | 40 | 40 | 40 | 3323 | 3927 | 4800 |
Order 22 | 2,406 | 45 | 45 | 50 | 3702 | 4375 | 5347 |
Order 23 | 2,395 | 45 | 45 | 50 | 3685 | 4355 | 5322 |
Order 25 | 2,709 | 45 | 45 | 47 | 4168 | 4925 | 6020 |
Order 27 | 2,923 | 45 | 45 | 50 | 4497 | 5315 | 6496 |
Order 30 | 3,212 | 50 | 50 | 50 | 4942 | 6060 | 7138 |
Order 31 | 3,376 | 40 | 40 | 45 | 5194 | 6370 | 7502 |
Order 35 | 3,672 | 59 | 59 | 59 | 5649 | 7200 | 8160 |
Order 38 | 4,044 | 50 | 50 | 55 | 6419 | 8253 | 8987 |
<tbody>
</tbody>
Two things:
1. I want to look up the order with the highest cost, as long as certain height and weight requirements are met. For example, what's the most expensive order with a yellow height of no more than 45 and a v2 weight no more than 5000. The answer is order 25, but how do i build a formula to show this.
2. going back to the example above, in addition to being able to list the one with the highest cost, I want to be able to lookup ALL orders that meet the criteria, and have those go into a drop down list, or some other way of showing multitple lookup answers in a single cell. In this case, the correct answers are order 20, 22, 23 and 25.
I've searched the internet a lot and played around with VLOOKUP, MIN, MAX, array formulas, etc., but I'm just going in circles, can't figure it out. Thanks in advance for the help!