formula help: Retirement eligible calculation

dallascowboys

New Member
Joined
Oct 10, 2018
Messages
8
rules:
60years + 10 years of experience OR
65 years and older.

I have DOB in Column P and Hire date in Column Q, and I would like to have column R populate "yes" or "no'

Can you please help.

Thanks,
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Welcome to the MrExcel board!

Try:

=IF(OR(AND(DATEDIF(P4,TODAY(),"y")>=60,DATEDIF(Q4,TODAY(),"y")>=10),DATEDIF(P4,TODAY(),"y")>=65),"yes","no")
 
Upvote 0
You can use a reference cell with Today's date or put Today in the formula.
You could use True or False instead of adding the If.


Excel 2010
OPQR
1Key Date TodayDOBHireQualify
210-Oct-1815-10-561-Nov-05TRUE
310-Oct-1815-10-5015-11-10TRUE
415-10-5015-11-10Yes
3a
Cell Formulas
RangeFormula
R2=OR(AND(DATEDIF(P2,O2,"y")>=60,DATEDIF(Q2,O2,"y")>=10),DATEDIF(P2,O2,"y")>=65)
R3=OR(AND(DATEDIF(P3,O3,"y")>=60,DATEDIF(Q3,O3,"y")>=10),DATEDIF(P3,O3,"y")>=65)
R4=IF(OR(AND(DATEDIF(P4,TODAY(),"y")>=60,DATEDIF(Q4,TODAY(),"y")>=10),DATEDIF(P4,TODAY(),"y")>=65),"Yes","No")
 
Upvote 0

Forum statistics

Threads
1,223,710
Messages
6,174,019
Members
452,542
Latest member
Bricklin

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