Avg number of selections per condition
Hi there,
I need some help. I'm trying to calculate the avg number of issues per condition in our master tracker. The issues are in a multi-value cell {Rev Rec Master Tracker Range 1} while the condition is a single-value cell in {Rev Rec Master Tracker Range 2} with values either as "Backlog" or "Net New". I'd like to find out the average # of issues in Backlog and average # of issues in Net New.
Here is what I have which I know isn't calculating the fields correctly. In my example for backlog there are 3 issues noted for 2 items in the backlog. So the avg should be 3/2 = 1.5
=IF(HAS({Rev Rec Master Tracker Range 2}, "Backlog"), COUNTM(HAS({Rev Rec Master Tracker Range 1}, {Rev Rec Master Tracker Range 2}, "Backlog"), 0)) / COUNTIF({Rev Rec Master Tracker Range 2}, "Backlog")
Appreciate any help!
Thanks!
Best Answer
-
So for "Backlog" you would want it to count 3 Action Plan Notes and then divide by 2 "Backlog" entries? If so, try this:
=COUNTM(COLLECT({Action Plan Notes}, {RR Type}, @cell = "Backlog")) / COUNTIFS({RR Type}, @cell = "Backlog")
Answers
-
Are you able to provide a screenshot for context?
-
Sure! Here you go.
-
So for "Backlog" you would want it to count 3 Action Plan Notes and then divide by 2 "Backlog" entries? If so, try this:
=COUNTM(COLLECT({Action Plan Notes}, {RR Type}, @cell = "Backlog")) / COUNTIFS({RR Type}, @cell = "Backlog")
-
That worked! Thank you very much, Paul! :)
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.7K Get Help
- 406 Global Discussions
- 218 Industry Talk
- 456 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!