You can first add all abs value together and then divided by the number of columns, like: (abs(col(A))+abs(col(B))+abs(col(C)))/3
Or, please see my example below, for that if you use variables:insert variables by selection, Origin will assign range by r# automatically: And you only need to change the start and end value of the jj loop.
Thanks, especially the second solution is really useful as an example of how to do more complicated calculations using the formula entry with a script.