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 Cell Referencing

I didn't quite get the mixed reference part...

Can someone clarify what exactly he achieved by mixing the two types of cell references, and why that may be useful in a professional setting? TIA

1 Answer

Jason Larson
Jason Larson
7,955 Points

He didn't achieve much by mixing the references, as he was really just demonstrating that it could be done. Personally, I use mixed references mostly in cases where I'm copying a formula across multiple columns and I want part of the formula to always reference the same column. For example, let's say I'm using a vlookup (which is one thing that I use a LOT in Excel) for a values in columns L:O on a table that has 4 columns (S:V), and I want the value from the last column to be returned in columns A:D. In cell A1 I would write =vlookup(L1, $S:$V, 4, false). I could then copy that formula into cells B1, C1, and D1 and I get back all the correct values. When the formula is copied to the other columns, the L1 value gets updated to M1, N1, and O1, but the S:V columns stay the same. Hopefully this makes sense, as you may or may not be familiar with vlookup. If you're not, I suggest you google it and figure out how it works, as it is one of the must useful functions in Excel (particularly if you're not an accountant, and you use Excel for comparing data).