+ Reply to Thread
Results 1 to 3 of 3

#REF Error to another Workbook

  1. #1
    Registered User
    Join Date
    09-13-2007
    Posts
    4

    #REF Error to another Workbook

    I'm using the following formula and I get a #REF! error:

    ='http://166.112.149.16/as/Shared Documents/Special Projects/Rental Assistance 9_12/[09_12_07_Rental Assistance"&C13&".xls]Sheet1'!$D$21

    The red text creates the #REF error. In C13, I have the workbook number that I need the formula to reference. In this example I have the number "10" I could just replace the red text with 10 and it will work. The reason I don't hard code is because I have 240 different workbooks to reference, and I would like to just drag the formula down. Any ideas on why I get the #REF?

    Thanks so much for your help!

  2. #2
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    =INDIRECT("'http://166.112.149.16/as/Shared Documents/Special Projects/Rental Assistance 9_12/[09_12_07_Rental Assistance"&C13&".xls]Sheet1'!$D$21")

    and report back.

    Basically, the INDIRECT function is the function that can make this work for you. Just work with the syntax.

  3. #3
    Registered User
    Join Date
    09-13-2007
    Posts
    4

    Still #REF Error

    Still get the error, played with the syntax of C13 part. Not sure how Indirect is any different than just pressing = and pasting the file's path?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1