Help with nested IF statement

mrafiq44

New Member
Joined
Oct 14, 2015
Messages
28
Employee A , aged 62 is in a pension plan, the rules of which in 2015 were: Payout = 1/2 of Salary or 15000 whichever is less, in 2019, the rules changed payout = 1/2 of Salary or Social Security limit whichever is less

but if Employee A is above the age of 62, the rule has always been payout = 1/2 of Salary or $30,000 whichever is less

I need to create 2 if's statement showing that if i have the age, salary and social security limit i can derive the payout number for years 2015 and then one for 2019 for employee above and below the age of 62.

Additional question:
Can there be if possible only one if statement for the age and the different year rules?

Any help would be greatly appreciated.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
If A2 is age; b2 is salary; c2 is SS Limit, then

D2: =MIN(15000,B2) for 2015 pension and
E2: =IF(A2>62,MIN(30000,B2),MIN(B2,C2)) for 2019 pension

Is this what you mean?
 
Last edited:
Upvote 0
If A2 is age; b2 is salary; c2 is SS Limit, then

D2: =MIN(15000,B2) for 2015 pension and
E2: =IF(A2>62,MIN(30000,B2),MIN(B2,C2)) for 2019 pension

Is this what you mean?


can i do both under the age of 62 and above the age of 62 in one cell for 2015 and in one cell for 2019?
 
Upvote 0
What happens in 2015 if under 62?

D2: =IF(A2<=62,whatever,MIN(15000,B2)) for 2015 pension [does this include age 62 or should the other one have an = in it?]
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,987
Members
452,373
Latest member
TimReeks

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