Average ifs formula
I have tried using the AVG(Collect formula and can't get it to do what I need. Anyone have any ideas on how to get the average of the cells in column1 if the matching cell in column 2 is ="Inbound" and the matching cell in Column 3 is equal to either "Developing", "Contributing", or "Experienced"
Best Answer
-
Hey @Hollie Green
=AVG(COLLECT([Column 1]:[Column 1], [Column 2]:[Column 2], "Inbound", [Column 3]:[Column 3] OR(@cell="Experienced", @cell="Developing", @cell="Contributing")))
This formula is for data that is all within the same sheet. If you are bringing it into a different sheet then we will need to change the formula syntax. Let me know.
cheers,
Kelly
Answers
-
Hey @Hollie Green
=AVG(COLLECT([Column 1]:[Column 1], [Column 2]:[Column 2], "Inbound", [Column 3]:[Column 3] OR(@cell="Experienced", @cell="Developing", @cell="Contributing")))
This formula is for data that is all within the same sheet. If you are bringing it into a different sheet then we will need to change the formula syntax. Let me know.
cheers,
Kelly
-
Could you include the syntax changes for the formula including multiple sheets? That's exactly what I need at the moment.
Thank you!
-
Hey Amber
Remember with cross sheet references you must physically create these in your sheet, you cannot simply copy paste this formula.
=AVG(COLLECT({source sheet column 1}, {source sheet column 2}, "Inbound", {source sheet column 3}, OR(@cell="Experienced", @cell="Developing", @cell="Contributing")))
If you need more information on cross sheet references you can find it here
Does this get you want you need?
Kelly
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!