+ Reply to Thread
Results 1 to 5 of 5

Help using INDIRECT with formula string

  1. #1
    Registered User
    Join Date
    09-17-2008
    Location
    South East UK
    Posts
    14

    Help using INDIRECT with formula string

    Firstly, happy new year!

    I'm trying to convert a string of text joined by CONCATENATE to result in a formula which references a cell on another workbook (on our server but in the same location as the master workbook).

    My testing of the string and formula works when I copy/paste-special into a new cell and return the correct value of the workbook.

    My problem occurs when I try to resolve the string using INDIRECT. I've had a good internet and forum search with no luck. I return the #REF! error, perhaps my string isn't a valid reference?

    Below are screen dumps of the formula and it's result.

    A side note, I've read that the other workbook needs to be open. I've tried it open and closed on the tests (copy/paste-special) and it works both ways!

    Thanks

    Mike
    Attached Images Attached Images

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,482
    The workbook will need to be open in order for the INDIRECT to work.

    You need to lose the ='s to make the indirect function correctly.

    =CONCATENATE("'G:\ELIBRARY\Engineering public\Time Sheets\","[",B4," - ",D4,".xls]",H4)
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Hi,

    I'm not clear what you're asking. There's no reference to the INDIRECT() function in your examples.

    Incidentally when posting examples, would you upload actual workbooks, or at least the relevant sections of them, as recommended in the forum rules. Pictures of formulae don't really help, and people are less inclined to assist if they find themselves having to create your formulae from scratch in order to test.

    Rgds

  4. #4
    Registered User
    Join Date
    09-17-2008
    Location
    South East UK
    Posts
    14
    Thanks Andy for the quick reply. Removing the = worked.

    Appologies for not including the text or actual workbooks Richard, I'll keep to the guidlines in future.

    I've read a few articles about work-arounds to reference cells from a closed workbook.

    Can anyone advise a good mothod or point me to thread?

    Thanks again.

    Mike

  5. #5
    Registered User
    Join Date
    09-17-2008
    Location
    South East UK
    Posts
    14
    Just thought I'd post the solution I found.

    Using the INDIRECT.EXT from the MoreFunc add-in solved my problem.

    Thanks

    Mike

+ 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