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!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!