Embedding the value of a cell in a formula

  • Thread starter Thread starter Len
  • Start date Start date
L

Len

I would like to have the contents of a cell be part of a formula. For example:

In one cell I have the year: 2009

In the other a formula references another workbook: =C:/.../Ad Sales 2009!A1

I would like to be able to change the first cell to year 2010 and have the
formula automatically change with it to =C:/.../Ad Sales 2010!A1

Is this possible?
 
Correction
A2 = 2009

=INDIRECT("'c:\[xlsfilename.xls]Ad Sales " & A2 &"'!A1")

If this post helps click Yes
 
Back
Top