Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is the proper syntax for the offet command

Status
Not open for further replies.

bpeirson

Structural
Joined
Apr 7, 2003
Messages
147
Location
CA
I am trying to get excel to reference cells with the offset command. After following the directions in the help menu I have managed to get the offset to reference cells in other workbooks.

What I need to do is have the offset command read the various filenames from adjacent cells and return the appropriate values from the other files.

If I type the filename and cell location directly into the offset command it works perfectly. If I type the filename into an adjacent cell and then type the cell address into the offset command it displays the contents of the adjacent cell rather than the value from the other file.

Any help is appreciated. I am trying to avoid writing a macro to paste the filename into the offset command line.

Thanks
 
Try looking into the indirect command.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top