Help with nested IF function

NZahenaiko

New Member
Joined
Jul 30, 2018
Messages
1
Hi everyone

I'm trying to complete a spreadsheet for our group benefits.

Our one benefit is based on a graded schedule(66.67% of the first 6000 monthly earnings, 55% of the next 3000 monthlyearnings, then 40% of the remaining earnings up to a maximum benefit of 8000per month.

I have a column showing the month earnings andI thought this would work, but it doesn’t:

IF((G2<=6000,(G2*0.6667),IF(AND(G2>6000,G2<=9000),(6000*0.6667)+(G2-6000)*0.55)))
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Welcome to the forum.

Maybe:

=MIN(8000,MIN(G2,6000)*66.67%+MEDIAN(0,G2-6000,3000)*55%+MAX(0,G2-9000)*40%)
 
Upvote 0
This works too:


Excel 2010
AB
1170008850.2
Sheet1
Cell Formulas
RangeFormula
B1=SUMPRODUCT(--(A1>{0;6000;9000;17000}),(A1-{0;6000;9000;17000}),{0.6667;-0.1167;-0.15;-0.4})
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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