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.
Can someone explain why Ben uses absolute references?
It's a bit confusing to me...
Jason Larson7,955 Points
He uses absolute references because he is dragging the cell down to copy it to the 2 cells below. When you drag a cell down to copy it like that, any relative references would change so that they referenced the cells that were the same distance from them as they were from the original cell. This would mean that the formula in cell B12 would change to reference cells S3:S26412, B2, B7, and B11, and the formula in B13 would reference S4:S26413, B3, B8, and B12.
It should be pointed out that since these formulas are in the same column, it's not necessary to make the entire reference absolute, as it should still work by putting the $ between the column and the row number.