+ Reply to Thread
Results 1 to 2 of 2

How can I access data in Excel from another worksheet based on local reference

  1. #1
    Registered User
    Join Date
    08-09-2011
    Location
    Cuiabá
    MS-Off Ver
    Excel 2003
    Posts
    5

    Question How can I access data in Excel from another worksheet based on local reference

    How can I access data in Excel from another worksheet based on local reference.

    I need only the value of each arquivo.xls G13
    I have three files with the following names.
    1112.xls
    1113.xls
    1114.xls

    I have the 4th folder that is trabalhho dados.xls

    Column A have the information you want to use as a reference within the formula to indicate the name of the file that contains the value I need.
    1112
    1113
    1114

    Example: = 'D: \ Documents - Projects \ Projects \ Phase 2 \ Phase 2-1 \ ["& A1 &". Xls.xls] Folhas_02'! $ G $ 13


    There are dozens of files, how can I get information on all of them.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,724

    Re: How can I access data in Excel from another worksheet based on local reference

    =INDIRECT("'D:\Documents - Projects\Projects\Phase 2\Phase 2-1\["&A1&". Xls.xls]Folhas_02'!$G$13")

    However, this requires the target file to open. With dozens of files this may not be practical for you. Other options require macros.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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