If formula based on score

sanket_sk

Board Regular
Joined
Dec 27, 2016
Messages
140
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I just want to create simple formula where excel should return value based on increasing / decreasing trend..

Details ..

We have highest and lowest score board where lowest value is better ( Payment due in months =<1.5 months is better than =>2.5 Months).

Here we want to give 15% additional discount if payment is made =<1.5 months, and it will reduce 1.5% on each increase intervention ( Table Below)

Please help me in creating this formula


[TABLE="width: 0"]
<tbody>[TR]
[TD]Months[/TD]
[TD]Score[/TD]
[/TR]
[TR]
[TD]<=1.5[/TD]
[TD]15%[/TD]
[/TR]
[TR]
[TD]1.6[/TD]
[TD]13.50%[/TD]
[/TR]
[TR]
[TD]1.7[/TD]
[TD]12%[/TD]
[/TR]
[TR]
[TD]1.8[/TD]
[TD]10.50%[/TD]
[/TR]
[TR]
[TD]1.9[/TD]
[TD]9%[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]7.50%[/TD]
[/TR]
[TR]
[TD]2.1[/TD]
[TD]6%[/TD]
[/TR]
[TR]
[TD]2.2[/TD]
[TD]4.50%[/TD]
[/TR]
[TR]
[TD]2.3[/TD]
[TD]3%[/TD]
[/TR]
[TR]
[TD]2.4[/TD]
[TD]1.50%[/TD]
[/TR]
[TR]
[TD]>=2.5[/TD]
[TD]0%[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Assuming that your months are always exactly equal to one decimal place, then for any value in cell A1, use this formula:
Code:
=MIN(MAX(0.15-(A1-1.5)*0.15,0),0.15)
 
Upvote 0
Assuming that your months are always exactly equal to one decimal place, then for any value in cell A1, use this formula:
Code:
=MIN(MAX(0.15-(A1-1.5)*0.15,0),0.15)


Thanks for Quick reply Joe, this formula worked for me..

Also please suggest for below equation, where Higher is better.

[TABLE="width: 0"]
<tbody>[TR]
[TD]Payment Collection
[/TD]
[TD]Score
[/TD]
[/TR]
[TR]
[TD]<=70%
[/TD]
[TD]0%
[/TD]
[/TR]
[TR]
[TD]71%
[/TD]
[TD]1%
[/TD]
[/TR]
[TR]
[TD]72%
[/TD]
[TD]2%
[/TD]
[/TR]
[TR]
[TD]73%
[/TD]
[TD]3%
[/TD]
[/TR]
[TR]
[TD]74%
[/TD]
[TD]4%
[/TD]
[/TR]
[TR]
[TD]75%
[/TD]
[TD]5%
[/TD]
[/TR]
[TR]
[TD]76%
[/TD]
[TD]6%
[/TD]
[/TR]
[TR]
[TD]77%
[/TD]
[TD]7%
[/TD]
[/TR]
[TR]
[TD]78%
[/TD]
[TD]8%
[/TD]
[/TR]
[TR]
[TD]79%
[/TD]
[TD]9%
[/TD]
[/TR]
[TR]
[TD]80%
[/TD]
[TD]10%
[/TD]
[/TR]
[TR]
[TD]81%
[/TD]
[TD]11%
[/TD]
[/TR]
[TR]
[TD]82%
[/TD]
[TD]12%
[/TD]
[/TR]
[TR]
[TD]83%
[/TD]
[TD]13%
[/TD]
[/TR]
[TR]
[TD]84%
[/TD]
[TD]14%
[/TD]
[/TR]
[TR]
[TD]>=85%
[/TD]
[TD]15%
[/TD]
[/TR]
</tbody>[/TABLE]

Sanket
 
Upvote 0
That one is even easier, as it is a straight 1% increase on both sides:
Code:
=MIN(MAX(A1-0.7,0),0.15)

I hope you are starting to see the pattern here, and it makes sense (where you should be able to figure other ones out now).
If not, let me know what questions you have about the formula.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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