Average of a column without min and max

@Ionut_Frincu

check it for reference