AVERAGEIF Function
AVERAGEIF can be used to average cells based on dates, numbers, and text. Whenaverage_rangeis not provided, AVERAGEIF will average values in therangeargument. Whenaverage_rangeis provided, AVERAGEIF will average values inaverage_range. However, when alogical operatoris included with a number, the number and operator must be enclosed in quotes. Note the difference in the two examples below. Double quotes are also used for text values. Notice the less thanoperator(which is text) is enclosed in quotes....