Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Data Analysis Spreadsheet Basics Getting Started With Spreadsheets Getting Started With Spreadsheets Review

Sean White
Sean White
5,537 Points

We are taught how to sort, and how to filter, but not how to filter and then perform a function?

How do I answer this question without just manually adding them all together? The video does not talk about how to filter, sort, and then do a function.

1 Answer

Rohald van Merode
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Rohald van Merode
Treehouse Staff

Hey Sean White 👋

You can perform this in the same way as shown in the videos 🙂 But break it down in those two steps, first filter your data to only show the required categories. From there you can use the average function on the cells that remain.

Alternatively you could select all prices and use the snapshot in the bottom right that was shown in an earlier video

Hope this answers your question 😃