Share via

Subtracting dates

Anonymous
2024-11-18T20:04:04+00:00

When subtracting birthdates, how can I format the resulting number of years to show as 3 digits only when the answer exceeds 99?

eg. 18-Nov-2024 minus 28-Feb-1913

Microsoft 365 and Office | Excel | For home | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2024-11-18T20:37:31+00:00

    Solved it ! With results cell formatted as General, this worked .... =DATEDIF(B4,$C$3,"Y").

    Thank you for steering me in the right direction.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-11-18T20:13:06+00:00

    Formatting that cell as General gives a result of 40806. Any other option?

    Was this answer helpful?

    0 comments No comments
  3. HansV 462.6K Reputation points
    2024-11-18T20:07:00+00:00

    Format the cell(s) with the formula that calculates the number of years as General.

    Was this answer helpful?

    0 comments No comments