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
-
Paul Newcome ✭✭✭✭✭✭
所以对于“积压”你会希望它数3活动on 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")
thinkspi.com
Answers
-
Paul Newcome ✭✭✭✭✭✭
Are you able to provide a screenshot for context?
thinkspi.com
-
Sure! Here you go.
-
Paul Newcome ✭✭✭✭✭✭
所以对于“积压”你会希望它数3活动on 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")
thinkspi.com
-
That worked! Thank you very much, Paul! :)
Help Article Resources
Categories
Check out theFormula Handbook template!
I guess you forget to use AND( ).<\/p>
For example, <\/p>
- IF([Total Value to User Score]@row = <3.8, >4.7, \"Mild,<\/li><\/ul>
should be<\/p>
- IF(AND(<\/strong>[Total Value to User Score]@row < 3.8, [Total Value to User Score]@row > 4.7)<\/strong>, \"Mild\",<\/li><\/ul>
However, the following would be more straightforward.<\/p>
- =IF([Total Value to User Score]@row >= 4.8, \"No Pain\", <\/li>
- IF([Total Value to User Score]@row >= 3.8, \"Mild\", <\/li>
- IF([Total Value to User Score]@row >= 2.8, \"Moderate\", <\/li>
- IF([Total Value to User Score]@row >= 1.8, \"Very Severe\", <\/li>
- IF([Total Value to User Score]@row < 1.8, \"Extreme\", \"//m.santa-greenland.com/community/discussion/106844/\")))))<\/li><\/ul>
- IF(AND(<\/strong>[Total Value to User Score]@row < 3.8, [Total Value to User Score]@row > 4.7)<\/strong>, \"Mild\",<\/li><\/ul>