• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

months in service for a given year.

Thank you :)
Hello Belleka
can be made dynamic as:

Code:
=IFERROR(DATEDIF(MAX($B$2,DATE($F$1,1,1)),MIN(DATE($F$1+1,1,1),$C2),"M"),0

Here, I replaced the static reference F$1 with the dynamic reference $F$1, so if you copy the formula to another cell, it adjusts the reference accordingly.
 
Back
Top