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 Intermediate Excel LOOKUP Functions Using VLOOKUP to Search in a Column

Peter Javorkai
Peter Javorkai
31,477 Points

Usage of absolute references VS using relative reference of value

Why did we use absolute reference for selecting the housing units for the Median Rental tab, but then why did we use relative reference only for selecting data from the Population & units tab?

1 Answer

Steven Parker
Steven Parker
231,198 Points

Since the range is complete columns, the absolute references were not needed. He just demonstrated the technique for use when the range is limited.

About 2 minutes into the video he explains, "One thing I want to mention here, in the example, the range I selected included entire columns, meaning all the way down to the bottom of the spreadsheet. Now if we decide not to choose entire columns for the range, we need to make the range an absolute reference." Then he demonstrates the technique and continues, "The absolute reference will make sure the range is static. So when you drag the formula down, it won't change the placement of your range. I usually just play it safe and select the entire columns for the range."

Peter Javorkai
Peter Javorkai
31,477 Points

Thanks Steven! Now it's clear!