I want to find a way of fixing this code so that the average can be calculated in the case where there is more than one column, but I have no idea how to do this. I'd really appreciate any solutions, thank you.
Function Aver(r As Range) As Double
Dim Sum As Double
If r.Columns.Count = 1...