Problem with average number formula, with certain criteria
Hi All!
Im trying to get the average number of a certain range, but only if it meets a certain criteria. I have looked at other examples but somehow i don't get it to work.
So I want the average of the blue columns. But only if the Red column is a certain name. And if its possible I want to do the formula on a seperate sheet??
Does anyone have any ideas how to make this work?
Best Answer
-
You are going to want to insert an additional "helper" column on the source sheet that contains the averages per row. You can then hide that column to help keep the sheet clean.
=AVG([First Blue Column]@row:[Last Blue Column]@row)
Then (using the appropriate method to create cross sheet references) your formula on the target sheet would look similar to...
=AVG(COLLECT({Source Sheet Helper Column}, {Source Sheet Name Column}, "John Doe"))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Answers
-
You are going to want to insert an additional "helper" column on the source sheet that contains the averages per row. You can then hide that column to help keep the sheet clean.
=AVG([First Blue Column]@row:[Last Blue Column]@row)
Then (using the appropriate method to create cross sheet references) your formula on the target sheet would look similar to...
=AVG(COLLECT({Source Sheet Helper Column}, {Source Sheet Name Column}, "John Doe"))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Thanks Paul it worked!!
-
Happy to help! 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!