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

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,887 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,887 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