![]() |
Anniversary dates
I've been trying to use a formula that will auto-populate the next anniversary date for an employee.
The formula I am using will get the correct year, but not the month and day right. Here's what I am using: =edate(E3,(datedif(E3,TODAY(),"y")+1)*12) Here's a link to the spreadsheet if you'd care to take a look. https://docs.google.com/spreadsheets...it?usp=sharing Any suggestions are appreciated! |
Anniversary dates
|
Anniversary dates
|
Anniversary dates
On 2/24/2019 10:01 AM, dpb wrote:
.... =DATE(YEAR(TODAY())+N(DATE(YEAR(TODAY()),MONTH(A1) ,DAY(A1))=TODAY()),MONTH(A1),DAY(A1))) is off-the-cuff recast...untested.Â* Particularly check for matching parentheses. And indeed, the logic test is reversed in the above.. =DATE(YEAR(TODAY())+N(DATE(YEAR(TODAY()),MONTH(A1) ,DAY(A1))TODAY()),MONTH(A1),DAY(A1))) -- |
All times are GMT +1. The time now is 02:43 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com