Microsoft Office Tutorials and References
In Depth Information
Advanced Techniques That Use Names
Figure 3-22: Using the INDIRECT function with a named range.
You can also reference worksheet-level names with the INDIRECT function. For example, suppose
you have a number of worksheets named Region1, Region2, and so on. Each sheet contains a
worksheet-level name called TotalSales. This formula retrieves the value from the appropriate
sheet, using the sheet name typed in cell A1:
=INDIRECT(A1&”!TotalSales”)
Using the INDIRECT function to create a named range
with a fixed address
It’s possible to create a name that always refers to a specific cell or range, even if you insert new
rows or columns. For example, suppose you want a range named UpperLeft to always refer to
the range A1. If you create the name using standard procedures, you’ll find that inserting a new
row 1 causes the UpperLeft range to change to A2. Or inserting a new column A causes the
UpperLeft range to change to B1. To create a name that uses a fixed address that never changes,
create a named formula using the following Refers To definition:
=INDIRECT(“$A$1”)
After creating this named formula, UpperLeft will always refer to cell A1, even if you insert new
rows or columns. The INDIRECT function, in the preceding formula, lets you specify a cell address
indirectly by using a text argument. Because the argument appears in quotation marks, it never
changes.
 
Search JabSto ::




Custom Search