FREE ! Solution !
=DATE(CNUM( MID(B2,1,4) )+1, CNUM( MID(B2,5,2) ), CNUM( MID(B2,7,2) )) -2
If B2=20140304
MID(B2,1,4) = “2014”
MID(B2,5,2)= “03”
MID(B2,7,2)=“04”
CNUM(...) makes numbers from text.
DATE(year,month,day) is a date, so
DATE(year+1, month, day) -2 is your solution.
Final formula :
= DATE(CNUM( MID(B2,1,4) )+1, CNUM( MID(B2,5,2) ), CNUM( MID(B2,7,2) )) -2
I’m doing this from my iPhone (and I’m used to Excel in French) without Excel but I’m sure it works. FREE !
Contact me for harder problems, I’m fast and efficient.