Thanks DILIPandey! That worked great.

What part of the formula did it calculate that the visit did not occur in the same month?