How to change formulas when a filter is applied?
I want to create a master sheet that connects to a report for each customer in the data. In this master sheet I have a column for "Average process completion time". In the master sheet, I want it to display the average completion time for all customers, which it already does. However, when I filter a customer in their respective report, it still displays the total number for all customers, not just the one I selected. Is there a way I can get my formula to change and only display the averages for the customer I have selected?
Answers
-
Hi @Maya S
If there is a specific criteria that identifies the selection of customers you can use =AVERAGEIF or perhaps =SUMIFS. We would have to see the data you're working with however if you need assistance writing a formula. -
Hi @Mr. Chris
I have a column labeled "Customer" that I would be using for my filter. I also have a column labeled "Process Work Days" which takes the number of days from the start of the process to the end. Currently for my "Average Process Completion Time" I am using this simple formula:
=IFERROR(AVG([Process Work Days]:[Process Work Days]), 0)
I am building this sheet for someone else and am hoping to make it as user friendly as possible, so I didn't want them to have to keep typing the =AVERAGEIF function for each individual customer as there are about a hundred. I thought when I filtered the entire sheet based on customer it would update this column rather than keeping the average for all customers. I considered using a dropdown box to select the customer which would update the formula but that hasn't been working out for me either. I am very new to Smartsheet, so I apologize if I am providing the wrong information. Is there a way to update the formula without typing the customer into it?
-
Are you able to provide some screenshots for context?
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives