Hi derickj,
Here's what I would do if you have Excel 365:
*I am using the French version of Excel 365, so there might be some errors due to manual translation or discrepancies in the Excel user manual*
Excel Formula:
=VLOOKUP(A2,A6:L8,1+MATCH(1,(B2<=B5:L5)*(B2>=B4:L4),0),FALSE)
Here's a preview of the result:
Classeur1 |
---|
|
---|
| A | B | C | D | E | F | G | H | I | J | K | L |
---|
1 | Type of Print | Quantity | Price | total | | | | | | | | |
---|
2 | Printed | 150 | 3,99 | 598,5 | | | | | | | | |
---|
3 | | | | | | | | | | | | |
---|
4 | Qty Cap | 1 | 12 | 25 | 50 | 75 | 100 | 250 | 500 | 1000 | 2500 | 5000 |
---|
5 | | 11 | 24 | 49 | 74 | 99 | 249 | 499 | 999 | 2499 | 4999 | 1E+06 |
---|
6 | Embroidered | 8,16 $ | 14,39 $ | 13,20 $ | 6,45 $ | 5,58 $ | 5,54 $ | 5,10 $ | 4,95 $ | 4,89 $ | 4,86 $ | 4,84 $ |
---|
7 | Printed | 0,99 $ | 7,99 $ | 6,50 $ | 5,96 $ | 4,99 $ | 3,99 $ | 3,72 $ | 3,35 $ | 3,17 $ | 2,99 $ | 2,98 $ |
---|
8 | Laser Engraving | 2,24 $ | 9,24 $ | 7,75 $ | 7,21 $ | 6,24 $ | 5,24 $ | 4,97 $ | 4,60 $ | 4,42 $ | 4,24 $ | 4,23 $ |
---|
|
---|
If you have an older version of excel, we could look a way around if the function VLLOKUP or Match is not accessible.
Bests regards,
Vincent