Excel: Building A1 Style Reference in a Worksheet

Last reviewed: November 29, 1994
Article ID: Q49264
The information in this article applies to:
  • Microsoft Excel for the Macintosh, versions 1.5, 2.2, 3.0, 4.0

SUMMARY

The following method requires Microsoft Excel version 1.5 or later. The INDIRECT function is not available in earlier versions of Excel.

The INDIRECT function can be used to build an A1 style reference on a Microsoft Excel worksheet.

For example, suppose cell A1 on the worksheet contains a C, cell A2 contains a 1, and cell C1 contains the word "text", as follows:

   A1: C  B1:   C1:text
   A2: 1  B2:   C2:

To return the value of cell C1 (the word "text"), use the following formula:

   =INDIRECT(A1&A2)


KBCategory: kbusage
KBSubcategory:

Additional words: 1.5 1.50 2.20 2.2 3.0 3.00 4.0 4.00


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 29, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.