Formula for avg of 1 column to a specific issue in another column
Sheet summary looking to get an average time to repair for specific issues that come in. Currently I have a formula that show AVG for every issue
Trying to get a formula to show this average to add to a dashboard view
Best Answer
-
Hi @DannyApa
You can use an AVERAGEIF Function to Average one column based on criteria in another.
Example structure:
=AVERAGEIF([Criteria Column]:[Criteria Column], "Criteria", [Column to Avg]:[Column to Avg])
In your sheet, it would look something like this:
=AVERAGEIF([Issue Category]:[Issue Category], HAS(@cell, "Connectivity"), MTTR:MTTR)
I used the HAS Function because it looks like your Issue Category column is multi-select. HAS will find any cell that has that specific selection, even if it's with other values. Let me know if this works for you!
Cheers,
Genevieve
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
Answers
-
Hi @DannyApa
You can use an AVERAGEIF Function to Average one column based on criteria in another.
Example structure:
=AVERAGEIF([Criteria Column]:[Criteria Column], "Criteria", [Column to Avg]:[Column to Avg])
In your sheet, it would look something like this:
=AVERAGEIF([Issue Category]:[Issue Category], HAS(@cell, "Connectivity"), MTTR:MTTR)
I used the HAS Function because it looks like your Issue Category column is multi-select. HAS will find any cell that has that specific selection, even if it's with other values. Let me know if this works for you!
Cheers,
Genevieve
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
-
Thank you so much. The formula worked like a charm
-
Wonderful! I'm glad I could help. 🙂
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.7K Get Help
- 474 Global Discussions
- 201 Use Cases
- 515 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 82 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!