+ Reply to Thread
Results 1 to 2 of 2

using a cell in one workbook to reference specific cells in other workbooks?

  1. #1
    Registered User
    Join Date
    05-19-2015
    Location
    Philadelphia, PA
    MS-Off Ver
    2010
    Posts
    1

    using a cell in one workbook to reference specific cells in other workbooks?

    Hi, is there way to use the contents of a cell in one workbook to reference the contents of another workbook? For example, suppose in Workbook 1, A1 I have the word "Apple", in A2 is the word "Pear", in A3 is the word "Orange". Now, in B1 want the contents of cell B1 from another Workbook named "Apple.xls". In B2 I want the contents of cell B1 from another Workbook named "Pear.xls". I am wondering if there is a formula to make this possible so that I do not have to open every single workbook, but rather I can reference all of these workbooks by making the first column the name of each individual workbook? Thanks!

    PS - If possible I'd like to make it so that it is a formula such that I don't need to change it with every single row/column, but instead it will automatically know that in B1 I want to reference the worksheet that uses A1 as the name, in B2 I want to reference the one with A2 as the name, etc. Sorry for making this so difficult!
    Last edited by kt5431; 05-19-2015 at 10:27 AM.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: using a cell in one workbook to reference specific cells in other workbooks?

    Use INDIRECT, e.g.

    in B1
    =INDIRECT(A1&".xls!B1")
    and copy down
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Copy specific cell in various workbooks to another workbook, but in consequtive cells
    By andreroux in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-06-2013, 10:49 AM
  2. [SOLVED] Importing a specific range of cells from multiple workbooks to a single workbook
    By exangel7 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-22-2013, 02:41 PM
  3. Conditioned copying/pasting of specific cells from multiple workbooks to master workbook
    By Ziad Homaidan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-06-2013, 11:39 AM
  4. [SOLVED] Copy specific cells from multiple workbooks and import them to a master workbook
    By Alby22 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-28-2012, 12:45 PM
  5. [SOLVED] Macro To Copy Specific cells From Multiple Workbooks to New Summary Workbook
    By Mooseman60 in forum Excel Programming / VBA / Macros
    Replies: 36
    Last Post: 06-19-2012, 07:38 AM

Tags for this Thread

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