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
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
-
Thank you so much. The formula worked like a charm
-
Wonderful! I'm glad I could help. 🙂
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- 10.8K Get Help
- 65 Global Discussions
- 69 Industry Talk
- 385 Announcements
- 3.5K Ideas & Feature Requests
- 55 Brandfolder
- 125 Just for fun
- 50 Community Job Board
- 464 Show & Tell
- 40 Member Spotlight
- 44 Power Your Process
- 28 Sponsor X
- 234 Events
- 7.3K Forum Archives
Check out the Formula Handbook template!