johnnyatbc

New Member
Joined
Nov 13, 2012
Messages
1
An employee is eligible for retirement if he or she satisfies at least one of the following three criteria:

(i) the employee has worked here for at least 40 years
(ii)the employee is 65 or over
(iii)the employee has worked here for at least 30 years and is 60 or over

(a) Create a worksheet that allows a person to enter in his or her age and the number of years worked. A cell in the worksheet should respond either "Congratulations! You are eligible for retirement!" or "Back to work."

(b) Add a cell that will indicate how many years it will be until the employee is eligible for retirement if he or she is not now eligible. You may use extra cells in your worksheet.

HOW DO I FIND A FORMULA THAT WILL ANSWER PART B?
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Here's a Start....



Excel 2010
ABCDEF
1Enter:Results (below)
2Age:30Back to Work
3No Yrs Worked30
4
5Years Until Retirement:
6More Age Years
7More Work Years
Sheet1
Cell Formulas
RangeFormula
F2=IF(OR(C2>=65,C3>=40,AND(C2>=60,C3>=30)),"Congratulations! You are eligible for retirement!","Back to Work")
 
Upvote 0

Forum statistics

Threads
1,214,642
Messages
6,120,701
Members
448,980
Latest member
CarlosWin

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