INDIRECT
Power Query Course in Spanish
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: INDIRECT

  1. #1
    Board Regular
    Join Date
    Mar 2002
    Posts
    83
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    I have the following formula:

    =INDIRECT(A5&"'[January 2002.xls]'!AM11")

    where A5 = Sheet1 (all tabs in .xls file are sheets (Sheet1, Sheet2,...)

    it's returning #REF!

    what am doing wrong?

    thanks.

  2. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Newcastle, UK
    Posts
    1,174
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    On 2002-03-28 10:36, mcarter973 wrote:
    I have the following formula:

    =INDIRECT(A5&"'[January 2002.xls]'!AM11")

    where A5 = Sheet1 (all tabs in .xls file are sheets (Sheet1, Sheet2,...)

    it's returning #REF!

    what am doing wrong?

    thanks.
    try changing to:

    =INDIRECT("'[January 2002.xls]"&A5&"'!AM11")

    Note: this function will only work if the other book is open.

    otherwise you will get a #REF! error

    _________________
    Share the wealth!!
    Ian Mac

    [ This Message was edited by: Ian Mac on 2002-03-28 10:45 ]

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

 
DMCA.com