How to filter and average numbers by leader
Hello,
I have been trying to write a formula to pull the averages of numbers in each column by Leader into a separate sheet but the only formula I could find that can calculate this is working, but pulling the data as zero. Is the issue because this is data generated from a form?
The equation I am using is =AVERAGEIF({30-Day Check-In: Standardization Process Range 6}, =Leader@row) - it's pulling data from another sheet, BUT for every leader, it is coming up as zero. Please Help!
Answers
-
@Nina R Your formula is not complete.
Averageif usage is the range to look at, the criteria in the range, and the range to average.
=AVERAGEIF({30-Day Check-In: Standardization Process Range 6}, Leader@row, [I Understand the key components of Standardization]:[I Understand the key components of Standardization])
-
Thanks James! I tried that too, but when I enter that equation, it comes back as an incorrect argument set. Thoughts?
-
Hi @Nina R,
Here are some things to check and suggestions for adjustments:
- Correct Syntax for
AVERAGEIF
: Ensure the syntax of yourAVERAGEIF
function is correct. The standard syntax isAVERAGEIF(range, criteria, [average_range])
. It looks like you might have an extra equals sign (=
) beforeLeader@row
which isn't necessary. The correct format doesn't require=
before the criteria when referencing another cell or using a named range. - Criteria Matching: Verify that the criteria (
Leader@row
) matches exactly with the entries in your specified range. This includes checking for any subtle differences like extra spaces, capitalization, or special characters. - Range and Average Range: In your formula, you only specified the condition range. If your numbers to be averaged are in the same range as your criteria, this setup is fine. However, if the numbers to be averaged are in a different column, you need to specify this third parameter in your function.
- Data Types: Ensure that the data in the column you're trying to average is indeed numerical. Sometimes, data imported from forms might be interpreted as text, especially if there are any non-numeric characters present. If the data is being interpreted as text, the
AVERAGEIF
function would not be able to calculate an average, resulting in a zero output. - Permission Issues: If the range you are trying to access is on another sheet, make sure you have the correct permissions to access that data.
Given the points above, here’s how you might adjust your formula:
- If the numbers to average are in the same column as the leaders:
=AVERAGEIF({30-Day Check-In: Standardization Process Range 6}, Leader@row)
If the numbers to average are in a different column, but you still filter by the "Leader" in the mentioned range, you'll need to add that average range as the third parameter. Assuming the numbers are in a range named
{Number Range}
, the formula would look something like:=AVERAGEIF({30-Day Check-In: Standardization Process Range 6}, Leader@row, {Number Range})
Ensure that your range names are correctly specified and that you're using the right syntax for referencing cells and ranges. Also, double-check the data type of the entries in the column you wish to average. If these steps don't resolve the issue, it might be helpful to manually check a few entries to ensure they meet the criteria and are indeed numerical.
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
- Correct Syntax for
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives