Formula for Slab based conditions

pavanranjan

Board Regular
Joined
Sep 20, 2008
Messages
50
Hi Guys,

Need your help to build a formula for below slab-table wherein comparing values from Slab range ,Penalty % and Slab base.

Condition is Slab range must achieve slab base to get lower penalty


Decrease
Slab BaseSlab RangePenalty %
Below 300-300.0%
3030.01-44.991.0%
4545.01-59.992.0%
6060.01-74.993.0%
7575.01-89.994.0%
9090.01-104.995.0%
105105.01-119.996.0%
120120.01-134.997.0%
135135.01-149.998.0%
150150.01-164.999.0%
165165.01-194.9910.0%


1604946675253.png


1604946697717.png

1604946738617.png
Meet Google Drive – One place for all your files
 
Last edited:

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
What is the penalty at say 100?
Can you post your data with XL2BB?
 
Upvote 0
What is the penalty at say 100?
Can you post your data with XL2BB?


testing.xlsx
EFG
12Decrease
13Slab BaseSlab RangePenalty %
14Below 300-300.0%
153030.01-44.991.0%
164545.01-59.992.0%
176060.01-74.993.0%
187575.01-89.994.0%
199090.01-104.995.0%
20105105.01-119.996.0%
21120120.01-134.997.0%
22135135.01-149.998.0%
23150150.01-164.999.0%
24165165.01-194.9910.0%
Sheet2
Cell Formulas
RangeFormula
E16:E24E16=+E15+15
G16:G24G16=+G15+1%



Penalty for 100 would be 5%
 
Upvote 0
N.B. E15 etc are 30.00001
What result do you require for 45 even?

T202011a.xlsm
EF
91005.0%
10300.0%
1130.51.0%
12
13Slab BasePenalty %
1400%
15301%
16452%
17603%
18754%
19905%
201056%
211207%
221358%
231509%
2416510%
25
5a
Cell Formulas
RangeFormula
F9:F11F9=LOOKUP(E9,$E$14:$F$24)
F16:F24F16=+F15+1%
 
Upvote 0
Why is 105 6% If that is correct, consider the following.
T202011a.xlsm
EF
8
91005.0%
101056.0%
11452.0%
12
13Slab BasePenalty %
1400%
15301%
16452%
17603%
18754%
19905%
201056%
211207%
221358%
231509%
2416510%
25
5a
Cell Formulas
RangeFormula
F9:F11F9=LOOKUP(E9,$E$14:$F$24)

 
Upvote 0
T202011a.xlsm
EFG
9300.0%0.0%
10452.0%2.0%
1116510.0%10.0%
12
13Slab BasePenalty %
1400%
1530.00011%
16452%
17603%
18754%
19905%
201056%
211207%
221358%
231509%
2416510%
5a
Cell Formulas
RangeFormula
F9:F11F9=LOOKUP(E9,$E$14:$F$24)
G9:G11G9=(E9>30)*(INT(E9/15)-1)/100


Definition is inconsistent.
N.B. E15 is 30.0001
 
Upvote 0
Hi Dave,

for more clarity ,please note the details as below..

There should be a logic of base slab in formula,if the value doesn't hit the same he will be falling in upper slab.Hope i am able to explain you.

few examples given below.Slab will always be in 2 decimal points only.

SlaboutputRemarks
300%
30.011%
624%because lower slab base not got hit hence will be falling under upper slab(till he achives 60)
765%because lower slab base not got hit hence will be falling under upper slab(till he achives 75)
 
Upvote 0
Did you try the suggestions? Post #6 gives 2 alternatives.
We require clearer information.

The suggestions follow the tables in your initial post.
The tables do not show the result what the amount meets the threshold see 45, 60, ...
62 appears to be 3% per your tables
76 appears to be 4% per your tables
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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