Need help for formula other than IF

Cilukba

New Member
Joined
Jun 26, 2018
Messages
2
Cheers Excel Lovers,

I have a problem with which formula to use,

The problem is I have a sales data and I am giving out bonus based on the performance. The data is simple,

[TABLE="width: 500"]
<tbody>[TR]
[TD]Sales Peformance range A[/TD]
[TD]B[/TD]
[TD]Bonus[/TD]
[/TR]
[TR]
[TD]$0[/TD]
[TD]$250[/TD]
[TD]$50[/TD]
[/TR]
[TR]
[TD]$251[/TD]
[TD]$500[/TD]
[TD]$100[/TD]
[/TR]
[TR]
[TD]$501[/TD]
[TD]$750[/TD]
[TD]$150[/TD]
[/TR]
[TR]
[TD]$751[/TD]
[TD]$1000[/TD]
[TD]$200[/TD]
[/TR]
</tbody>[/TABLE]
and so on.

Lets say MR.A sales is $300 then the bonus is $100. It is very simple if i am using IF but the range goes on for about 20 rows. The list will be very long. I am thinking using vlookup but I do not think that would be the right choice.

Can anyone help me make it simpler ?

Regards
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
You're right:


[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]B10[/TH]
[TD="align: left"]=VLOOKUP(A10,$A$2:$B$5,2,1)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]


Ah!... I got it now.. Thanks A Lot Mister....
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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