A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi,
46313 is Excel’s internal date serial number. The formula is likely working; the cell just needs to be formatted as a date.
Select column E, then go to Home > Number Format > Short Date.
For row 2, you can use:
- D2 – Age at appraisal
=IF(OR(B2="",C2=""),"",DATEDIF(B2,C2,"Y")&" years, "&DATEDIF(B2,C2,"YM")&" months") - E2 – Appraisal expiration date
=IF(C2="","",EDATE(C2,IF(DATEDIF(B2,C2,"M")<30,13,24)))
This gives children under 30 months a 13-month expiration and children 30 months or older a 24-month expiration.
- F2 – Status
=IF(E2="","",IF(E2<TODAY(),"Expired",IF(E2<=TODAY()+30,"Expiring in 30 days","Current")))
You can then use Conditional Formatting on column F:
- "Expired" = red
- "Current" = green
- "Expiring in 30 days" = yellow
Then copy the formulas down for the other students.
Just to confirm, is the cutoff exactly 2 years 6 months (30 months) at the time of the health appraisal?
Click "Add comment" to let me know.
Thanks!