AVERAGEIF

How to Use MS Excel AverageIF Formula

Returns the average all the cell in a range that meat a given criteria
                          

                                     Table

Sr.No.        A         B
                               1.            2
                               2.            4
                               3.            6
                               4.            8
                               5.            2
                               6.            5

      Syntax:    =Average if ( range, "criteria)Enter

                       = average if (A1:A6,"4")Enter
                                           =   6.33