Bonus logic question

drbro

New Member
Joined
May 15, 2021
Messages
8
Office Version
  1. 2019
Platform
  1. Windows
I have a system which based on what a user spent within a day they get bonus cash back. In essence for each $500 spent they get a $25 in a bonus wallet. If the amount is simple for example $1000 then its easy and we give $50. The problem arises if the user spent on visit A $400 whereas they get nothing. but on visit B they spent $600 which between those 2 visits they spent $1000 and considering that they did not get a bonus on visit A they should get $50 (2*25) on visit B. Keep in mind that the user can spend what ever they earn on their bonus wallet whenever they want within the day. I have attached my screenshot where I would like to find a way to programmatically do this calculation regarding the bonus. Any help is much appreciated.
 

Attachments

  • 8AKP8hB.png
    8AKP8hB.png
    25.6 KB · Views: 20
You're welcome & thanks for the feedback.
 
Upvote 0

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
@Fluff is it possible to change it a bit?

○ Spent amount € 5,000 - € 7,499 -> bonus 5 €
○ Spent amount € 7,500 - € 13,499 -> bonus 10 €
○ Spent amount € 13,500 - € 24,999 -> bonus 30 €
○ Spent amount € 25,000 - € 50,000 -> bonus 50 €
○ Spent amount> 50,000 € -> bonus 100 €
○ For every € 25,000 over € 50,000 -> € 50 bonus

And it will be collected within a month rather than daily. We want to allow the user to spend it as soon as they win it.

any help many thanks!
 
Upvote 0
As this is now a totally different question, you will need to start a new thread. Thanks
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,868
Members
449,053
Latest member
Mesh

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