Chris Waller
Board Regular
- Joined
- Jan 18, 2009
- Messages
- 183
- Office Version
- 365
- Platform
- Windows
I have some date ranges in column A i.e.06/04/50 - 05/05/50 and in column B a date in the following format dd/mm/yyyy. In Column C, I want to calculate the years and months from column B to the first date in column A. In Column D, I want to calculate the years and months from Column B to the second date in column A. I hope I have explained what I am trying to do clearly and I think the answer may include parts if not all of the following formulas, but trying to combine the two formulas is proving troublesome. TIA
=MID(A2,1,8)
=DATEDIF(A1621,B1621,"y")&" years, "&DATEDIF(A1621,B1621,"ym")&" months"
=MID(A2,1,8)
=DATEDIF(A1621,B1621,"y")&" years, "&DATEDIF(A1621,B1621,"ym")&" months"