Formula to extract automatically allowance value based on two salary and personal deduction scales

vladimiratanasiu

Active Member
Joined
Dec 17, 2010
Messages
359
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
Hello!

I have a table with salary and personal deductions scales. The pay scale (A4:B44) is divided in ranges that cover a difference of maximum 2000 units, between the minimum reference salary (A2, B4) and the highest value (B44) considered when the personal deduction is calculated. Each interval (e.g. A4:B4, A5:B5 etc.) increases in values, with a difference of +50 units from the previous one. The personal deductions scale (C4:C44) covers the interval 20%-0% decreasingly, in steps of -0.5 percents. The minimum reference salary and pay scale values may vary, but the calculation scales 0-2000 units and 20%-0% are applied identically to every new table. I need a formula to find exactly the personal deduction percent (see e.g. G4:G12 results), according with the minimum reference and net salary values specified. The table A1:B44 is presented only for additional explanations. I wish that formula exclude it from direct references, but runs in a table structured as the Desired results (E1:G12) one.

Thank you!

Book1.xlsx
ABCDEFG
1Minimum reference salaryDesired results (e.g.)
24,000.00
3Pay scalePersonal deduction Minimum reference salaryNet salaryPersonal deduction
40.004,000.0020.00%4,000.004,230.0017.50%
54,001.004,050.0019.50%4,510.0014.50%
64,051.004,100.0019.00%4,820.0011.50%
74,101.004,150.0018.50%5,500.005,810.0016.50%
84,151.004,200.0018.00%6,160.0013.00%
94,201.004,250.0017.50%6,520.009.50%
104,251.004,300.0017.00%6,700.006,980.0017.00%
114,301.004,350.0016.50%7,620.0010.50%
124,351.004,400.0016.00%7,830.008.50%
134,401.004,450.0015.50%
144,451.004,500.0015.00%
154,501.004,550.0014.50%
164,551.004,600.0014.00%
174,601.004,650.0013.50%
184,651.004,700.0013.00%
194,701.004,750.0012.50%
204,751.004,800.0012.00%
214,801.004,850.0011.50%
224,851.004,900.0011.00%
234,901.004,950.0010.50%
244,951.005,000.0010.00%
255,001.005,050.009.50%
265,051.005,100.009.00%
275,101.005,150.008.50%
285,151.005,251.008.00%
295,252.005,250.007.50%
305,251.005,300.007.00%
315,301.005,350.006.50%
325,351.005,400.006.00%
335,401.005,450.005.50%
345,451.005,500.005.00%
355,501.005,550.004.50%
365,551.005,600.004.00%
375,601.005,650.003.50%
385,651.005,700.003.00%
395,701.005,750.002.50%
405,751.005,800.002.00%
415,801.005,850.001.50%
425,851.005,900.001.00%
435,901.005,950.000.50%
445,951.006,000.000.00%
Sheet2
Cell Formulas
RangeFormula
B4B4=A2
A5:A44A5=B4+1
B5B5=B4+50
B6B6=A2+100
B7B7=A2+150
B8B8=A2+200
B9B9=A2+250
B10B10=A2+300
B11B11=A2+350
B12B12=A2+400
B13B13=A2+450
B14B14=A2+500
B15B15=A2+550
B16B16=A2+600
B17B17=A2+650
B18B18=A2+700
B19B19=A2+750
B20B20=A2+800
B21B21=A2+850
B22B22=A2+900
B23B23=A2+950
B24B24=A2+1000
B25B25=A2+1050
B26B26=A2+1100
B27B27=A2+1150
B28B28=A6+1200
B29B29=A2+1250
B30B30=A2+1300
B31B31=A2+1350
B32B32=A2+1400
B33B33=A2+1450
B34B34=A2+1500
B35B35=A2+1550
B36B36=A2+1600
B37B37=A2+1650
B38B38=A2+1700
B39B39=A2+1750
B40B40=A2+1800
B41B41=A2+1850
B42B42=A2+1900
B43B43=A2+1950
B44B44=A2+2000
 
Last edited:

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Hello, do you mean something along these lines:

Excel Formula:
=MAP(SCAN("",E4:E12,LAMBDA(a,b,IF(b<>"",b,a))),F4:F12,LAMBDA(x,y,
LET(
r,x,
s,SEQUENCE(41,,r,50),
d,SEQUENCE(41,,0.2,-0.005),
XLOOKUP(y,s,d,0,1))))
 
Upvote 0
Solution

Forum statistics

Threads
1,225,415
Messages
6,184,849
Members
453,263
Latest member
LoganAlbright

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