what functions adds a range of cells then divides by the number of cell entries