determine appropriate filter for column