The AVERAGEIF function in Microsoft Excel is a versatile statistical function designed to calculate the average of cells that meet a specified condition. It is a first degree cousin of SUMIF and COUNTIF Excel functions, with the only difference is that it averages the values. What is the AVERAGEIF Function? The AVERAGEIF function returns the…