Formula for AVG when only specific rows should be calculated

Hello,
Working on a formula that should average number of days worked but also meets two other specific criteria and does not count any rows that are blank as 0. Below is my formula but not confident is calculating the way I need it to. Thoughts?
=AVG(COLLECT({#Worked}, {Due Date}, >DATE(2020, 12, 31), {Status}, =[Formula Descriptor]@row))
Best Answer
-
That should be working. If you wanted to specify to exclude blanks just to be sure, it would look something like this...
=AVG(COLLECT({#Worked}, {#Worked}, @cell <> "", {Due Date}, >DATE(2020, 12, 31), {Status}, =[Formula Descriptor]@row))
Answers
-
That should be working. If you wanted to specify to exclude blanks just to be sure, it would look something like this...
=AVG(COLLECT({#Worked}, {#Worked}, @cell <> "", {Due Date}, >DATE(2020, 12, 31), {Status}, =[Formula Descriptor]@row))
-
Thanks as always!
Help Article Resources
Categories
Check out the Formula Handbook template!