carolj92190
New Member
- Joined
- Jun 17, 2020
- Messages
- 4
- Office Version
- 365
- Platform
- Windows
Greetings,
Working on a pricing tool, where the part numbers can have multiple tiers and different number of tiers, based on volume. I've been struggling with trying to index/match the part number in column A (exact) and the volume in column C (approximate based on tier) but either end up with a REF or an incorrect result. In sample data if PN1 is selected and volume quantity is 8000, it would fall into the 2nd tier and the price would be a flat $5375. Sample data only has 3 parts, final tool will have many more so trying to make this as easy as possible. Some attempts at formulas:
=INDEX($A$2:$D$9,MATCH(H2,$A$2:$A$9,0),MATCH(H3,$B$2:$B$9,1)) - resulted in #REF!
=INDEX($D$2:$D$9,MATCH(H2,$A$2:$A$9,0),MATCH(H3,$C$2:$C$9,1)) - resulted in #REF!
=INDEX($D$2:$D$9,MATCH(1,(H2=$A$2:$A$9)*(H3=$C$2:$C$9))) - resulted in $6000 instead of $5375
Appreciate any help you can provide. Thanks!
Working on a pricing tool, where the part numbers can have multiple tiers and different number of tiers, based on volume. I've been struggling with trying to index/match the part number in column A (exact) and the volume in column C (approximate based on tier) but either end up with a REF or an incorrect result. In sample data if PN1 is selected and volume quantity is 8000, it would fall into the 2nd tier and the price would be a flat $5375. Sample data only has 3 parts, final tool will have many more so trying to make this as easy as possible. Some attempts at formulas:
=INDEX($A$2:$D$9,MATCH(H2,$A$2:$A$9,0),MATCH(H3,$B$2:$B$9,1)) - resulted in #REF!
=INDEX($D$2:$D$9,MATCH(H2,$A$2:$A$9,0),MATCH(H3,$C$2:$C$9,1)) - resulted in #REF!
=INDEX($D$2:$D$9,MATCH(1,(H2=$A$2:$A$9)*(H3=$C$2:$C$9))) - resulted in $6000 instead of $5375
Appreciate any help you can provide. Thanks!
Part Number | Low Volume | High Volume | Price |
PN1 | 1 | 2500 | $1500 |
PN1 | 2501 | 10000 | $5375 |
PN1 | 10001 | 25000 | $12000 |
PN2 | 1 | 100 | $250 |
PN2 | 101 | 500 | $750 |
PN2 | 501 | 1500 | $1000 |
PN2 | 1501 | 999999 | $18000 |
PN3 | 1 | 999999 | $20000 |