Hello everyone,
I am currently working on an advance-for-me function to calculate a really variable average. I am basing it on the the Countifs/sum style of averages. I have managed to create a successful array formula for the countifs portion of the function, but i am struggling to develop the formula to divide it by. Here is why:
I am dividing this count if:
by the unique frequency of a value
My issue is, the unique frequency i need to divide by is specific to the same criteria used to determine the countifs.
I am leaving for the day, but in short -
countifs( total 'this person' surveyed 'this area')/sum(if(frequency( 'the number of unique days this person surveyed that area')
= Average laps per day that this person completes per route
any help would be amazing. I will be available to answer more questions upon reply.
Thanks!
Henry
I am currently working on an advance-for-me function to calculate a really variable average. I am basing it on the the Countifs/sum style of averages. I have managed to create a successful array formula for the countifs portion of the function, but i am struggling to develop the formula to divide it by. Here is why:
I am dividing this count if:
Code:
{=COUNTIFS('All Data'!$D:$D,Sheet7!B$1,'All Data'!U:U,Sheet7!$A3:$A25)}
by the unique frequency of a value
Code:
=SUM(IF(FREQUENCY(data,bins)>0,1))
My issue is, the unique frequency i need to divide by is specific to the same criteria used to determine the countifs.
I am leaving for the day, but in short -
countifs( total 'this person' surveyed 'this area')/sum(if(frequency( 'the number of unique days this person surveyed that area')
= Average laps per day that this person completes per route
any help would be amazing. I will be available to answer more questions upon reply.
Thanks!
Henry