If I'm following that correctly, you had +1 in the wrong part of the formula.

You need to add 1 to the end date, not the formula result.

=DATEDIF(StartDate;EndDate+1;”M”)