Formula to determine dating age rage