Well, I should have been working all day, but decided to take a bit of time to relax and catch up on some reading (of RSS feeds). At the Lost in Technology blog, was a link to XtraNormal, where you can write, cast and direct an animated movie. That sounded like more fun than working, so off I went.
And here’s the first (and probably last) installment in Excel Theatre. Please note the giant spreadsheet in the background. I think it adds to the tension in this dramatic presentation. Just so you know – the dialog is corny, the actors are wooden, the plot is weak and the costumes are pitiful. Other than that, it’s pretty good. 😉
Note: The animated actors had a tough time pronouncing INDIRECT, so I had to spell it IN DIE WRECKED in the script, to make it understandable. Fortunately, that seemed to help, and the key word is clearer in the video now.
The INDIRECT Function
If you haven’t used INDIRECT before, it’s a formula that returns a reference to a range, based on a text string. As the video pointed out, you can use an absolute reference to a cell, to “lock” the reference, and keep if from changing if you copy the formula to a different cell. However, if the referenced cell moves, the absolute reference changes to match the new location.
For example, in the screenshot below, cell C2 contains an absolute reference to cell A1, and cell C3 contains an INDIRECT formula that refers to cell A1.
If you insert a blank row at the top of the worksheet, the formula in cell C2 changes, and it now refers to cell A2. Because it’s a text string, the reference in the INDIRECT formula doesn’t change. It returns a zero because cell A1 is now empty.
Using the INDIRECT Function
You can use INDIRECT in dependent data validation lists, or to prevent a cell reference from being affected by a move, or create cell references from a combination of cell values and text.
For more information on the INDIRECT function, and examples of how to use it, please visit the INDIRECT Function page on my website.