I need to average a set of numbers if they meet a criteria like sumif for averages. Does anybody have a function I could use.