Trying to average "STM Task" values where "Position" is one of two options..
Thought this one would be straight forward but so far I have tried the following without success:
=AVG(COLLECT([STM Task]:[STM Task],Position:Position,"Adjuster - UV",Position:Position,"Adjuster - Web")[STM Task]:[STM Task])
=AVG(COLLECT([STM Task]:[STM Task], Position:Position, "Adjuster - UV", Position:Position, "Adjuster - Web"))
=AVG(COLLECT(Position:Position,Position:Position,"Adjuster - UV",Position:Position,"Adjuster - Web")[STM task]:[STM Task])
=AVG(OR(Position:Position="Adjuster - UV",Position:Position="Adjuster - Web")[STM Task]:[STM Task])
=AVERAGEIF(OR(Position:Position="Adjuster - UV")Position:Position,"Adjuster - Web",[STM Task]:[STM Task])
I am so close to just doing an AVERAGEIF for each one and then averaging those two values 🤣
Best Answer
-
Try this...
=AVG(COLLECT([STM Task]:[STM Task], Position:Position, OR(@cell = "Adjuster - UV", @cell = "Adjuster - Web")))
Answers
-
Try this...
=AVG(COLLECT([STM Task]:[STM Task], Position:Position, OR(@cell = "Adjuster - UV", @cell = "Adjuster - Web")))
-
Thank @Paul Newcome, that did it!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!