Not sure which formula to use?

samilynn

Board Regular
Joined
Jun 24, 2003
Messages
166
Office Version
  1. 2016
Platform
  1. Windows
Hi guys, I have this table on one spreadsheet. On a different spreadsheet, I want to enter just the Item Number and a Qty, and then a vlookup (I think?) that would give me the proper bonus, based on the item and what qty I am selling.

Can you guide me in the right direction with which formula(s) to use?

Thanks,

Samantha

ITEMQTYBONUSQTYBONUSQTYBONUS
Q75881$2.0010$25.0050$200.00
R42612$10.0025$225.0075$900.00
B44901$20.00
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Hey Sami,
Just so I understand, if you sell 1-9 of Item Q7588, you get 2.00
if you sell 10-49, you get 25, and if you sell 50 or more, you get 200?
 
Upvote 0
Hey Sami,
Just so I understand, if you sell 1-9 of Item Q7588, you get 2.00
if you sell 10-49, you get 25, and if you sell 50 or more, you get 200?
Hi Anfinsen...

if I sell 1-9, you get 2.00 a piece (so if I sell 5 you get 10.00)
if I sell 10, then you get 25.00 per every 10 (so if I sell 20, you get 50.00)
etc

Thank you!!

Sammy
 
Upvote 0
Sami,
simply from a mathematical perspective, it would be easier to list all you bonus amounts per piece, and not have to add extra math on top. Something like below.

ITEMQTYBONUS PER PIECEQTYBONUS PER PIECEQTYBONUS PER PIECE
Q7588
1​
$2.00​
10​
$2.50​
50​
$4.00​
R4261
2​
$10.00​
25​
$9.00​
75​
$12.00​
B4490
1​
$20.00​
 
Upvote 0
Sami,
simply from a mathematical perspective, it would be easier to list all you bonus amounts per piece, and not have to add extra math on top. Something like below.

ITEMQTYBONUS PER PIECEQTYBONUS PER PIECEQTYBONUS PER PIECE
Q7588
1​
$2.00​
10​
$2.50​
50​
$4.00​
R4261
2​
$10.00​
25​
$9.00​
75​
$12.00​
B4490
1​
$20.00​
Hi Anfinsen, you're right, but unfortunately I don't have that option.

I guess I could replace the simple reference (say E2), with a formula like E2/D2, which will divide the total bonus by the required qty, to give me the bonus amount per piece.
 
Upvote 0
Hi Anfinsen, you're right, but unfortunately I don't have that option.

I guess I could replace the simple reference (say E2), with a formula like E2/D2, which will divide the total bonus by the required qty, to give me the bonus amount per piece.
Sami,
There isn't (that I am aware of) a way to do this all in one formula, with the way your data is structured, without the help of some helper columns.

In your new sheet, try using this table, the first two headers, "Enter Item Below" and "Enter QTY Below", are input fields, the rest of the fields would be static formulas.

Book1
ABCDEFGHIJKLMNOPQ
1ITEMQTYBONUS PER PIECEQTYBONUS PER PIECEQTYBONUS PER PIECEEnter Item BelowEnter Qty Sold BelowBonus AmountQTY 1QTY 2QTY 3Bonus 1Bonus 2Bonus 3
2Q75881$2.0010$2.5050$4.00Q758849122.51105022.54
3R42612$10.0025$9.0075$12.00
4B44901$20.00
5
6
7
Sheet1
Cell Formulas
RangeFormula
K2K2=IFS(J2<M2,J2*O2,AND(J2>=MIN(M2, N2),J2<=MAX(M2, N2)), J2*P2,J2>N2,J2*Q2)
L2L2=VLOOKUP(I2,A:B,2,)
M2M2=VLOOKUP(I2,A:D,4,)
N2N2=VLOOKUP(I2,A:F,6,)
O2O2=VLOOKUP(I2,A:C,3,)
P2P2=VLOOKUP(I2,A:E,5,)
Q2Q2=VLOOKUP(I2,A:G,7,)
 
Upvote 0

Forum statistics

Threads
1,215,313
Messages
6,124,201
Members
449,147
Latest member
sweetkt327

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