I need to add my own function for logarithmic averaging to excel but i'm not sure how to have a range of values as an input value or how to make count the number of values in a given range. I have a small amount of experience with programming.
The formula i usually use in excel and am looking to implement as a pre-set function is the following:
=10*LOG(SUM(10^('range of values'/10)/'number of values in the range'))
Can anyone help me out?
You can try this, you may need to adjust to account for blank cells or non-text in the range
And then simply enter =TestUDF(A1:A18) in a cell to use it.