Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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

Mary Hunter
Mary Hunter
216 Points

The total value as I find it is $9,431.00, but the quiz is saying that's the wrong answer. What's wrong?

That's the sum of the F&B and entertainment expenses.

3 Answers

Alex Koumparos
seal-mask
.a{fill-rule:evenodd;}techdegree
Alex Koumparos
Python Development Techdegree Student 36,862 Points

Ahh, that makes sense. By default Excel (and I assume Google Sheets) will include rows hidden by filters when using formulas like SUM(). The logic behind this is that filters only affect what you see, not what the underlying data is, while the formulas work on the data regardless of whether it is visible.

You might find that a formula like SUMIF is the best in a scenario like this.

Hope that helps

Cheers

Alex

Alex Koumparos
seal-mask
.a{fill-rule:evenodd;}techdegree
Alex Koumparos
Python Development Techdegree Student 36,862 Points

Hi Mary,

The total of (F&B + Entertainment) is significantly less than $9000.

Is it possible that you sorted or otherwise manipulated the data before trying to compute the totals?

What formulae did you use to compute your totals?

Cheers

Alex

Mary Hunter
Mary Hunter
216 Points

Hi Alex, I used the filter function to include F&B + Entertainment only, then did a sum formula for the cells that were shown. Thanks for reaching out! Cat