Calculating bonus with different variable

Jeffreyxx01

Board Regular
Joined
Oct 23, 2017
Messages
156
Hi guys,

I am trying to workout a bonus formula, but got stuck on,

I want to see in the formula column, if I change the number in red (100), the fomula would show for the range the bonus, as for example, 45 - 36 = 9 then max payout is 450, but i want to see inbetween if there is for example 40, then it would be 50 times 4 = 200,

Thanks for the help

Number100
MinMaxTier RangeBonusPayoutFormula here
03500
3645950450
45549100900
546392001800
631003730011100

<colgroup><col span="5"><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
but i want to see inbetween if there is for example 40, then it would be 50 times 4 = 200,

Could you clarify this? why times 4?

you can use this formula to find bonus, but it will give you 50 as a result.

Code:
=SUMPRODUCT(--(A4:A8<=B1),--(B4:B8>B1),D4:D8)
 
Upvote 0
For example the number 100 can change by the person using the worksheet,

if I write 40, then it would reach the first range of 36-45 so 36-40 = 4 then this should be times by 50 for each 4*50=200,

and so on,
 
Upvote 0
Try this formula then
Code:
=SUMPRODUCT(--(A4:A8<=B1),--(B4:B8>B1),D4:D8*(B1-(A4:A8)))
 
Upvote 0
did you set range correctly?

Code:
=SUMPRODUCT(--(A4:A8<=B1),--(B4:B8>B1),D4:D8*(B1-(A4:A8)))
Where:
A4:A8 - min
B4:B8 - max
D4:D8 - bonus
B1 - your Variable number
does not include headers.
 
Upvote 0
Yes I did and it does not give the right answer,

for example between 0-35, there is no bonus,
36 to 45 I should receive 9*50 = 450
45 to 54 I should receive 9*100 = 900
and so on

also using the number in the cell where anyone can change the number to their results.
 
Upvote 0
sorry I didn't spot "formula here" column... so do you want this formula to be in each line?

EDIT: Can't paste correct formula:/ keep changing to something different from what I am pasting
 
Last edited:
Upvote 0
sorry something wrong, Whenever I am pasting formula it keep changing after I press save button...
 
Last edited:
Upvote 0
for example between 0-35, there is no bonus,
36 to 45 I should receive 9*50 = 450
45 to 54 I should receive 9*100 = 900
and so on

also using the number in the cell where anyone can change the number to their results.

Also assuming I reach
40 and I don't reach the highest 45, I should receive the bonus of 50*4 = 200 but if I reach 45 then I reach the full payout of the range,

Hope it is clear
 
Upvote 0

Forum statistics

Threads
1,214,652
Messages
6,120,746
Members
448,989
Latest member
mariah3

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