+ Reply to Thread
Results 1 to 7 of 7

Thread: How to Use reference cell or this purpose?

  1. #1
    Registered User
    Join Date
    09-06-2008
    Location
    Philly
    Posts
    40

    How to Use reference cell or this purpose?

    For my job I have created a workbook that forecasts raw materials based on our production schedule for the current week and upcoming week.

    For example, in my forecasting workbook I have two cells:
    ='Z:\SHARE\Logistics\SCHEDULE\[PD09WK04.xls]SCHEDULE'!$M$64
    ='Z:\SHARE\Logistics\SCHEDULE\[PD10WK01.xls]SCHEDULE'!$M$64

    where PD09WK04.xls is a separate file (the production schedule) and schedule is a tab within the workbook.

    I want to put PD09WK04 in a cell in my forecasting workbook (lets pretend A1), and then have all of the references to the schedule use the cell A1.xls ...

    So it would be:
    A1 B1
    PD09WK04 PD10WK01

    ='Z:\SHARE\Logistics\SCHEDULE\[A1.xls]SCHEDULE'!$M$64
    ='Z:\SHARE\Logistics\SCHEDULE\[B1.xls]SCHEDULE'!$M$64


    I have about 500 references to the file PD09WK04.xls, so rather than doing find/replaces, I would prefer to just have a reference cell


    Ideas welcome, Thanks!

  2. #2
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,777

  3. #3
    Registered User
    Join Date
    09-06-2008
    Location
    Philly
    Posts
    40
    Hey, thanks for the quick reply!

    I saw that but posted this because I was wondering if there was another way to do it without the indirect function

    The reason I ask is because "The linked workbook must be open in the same instance of Excel for INDIRECT to work" would just be an inconvenience and having to open all 3 sheets each time would suck. And then having to explain that to coworkers so they could also use the workbook would be a pain.

    Any other solutions?

  4. #4
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,777
    Nope, not without VBA.

  5. #5
    Registered User
    Join Date
    09-06-2008
    Location
    Philly
    Posts
    40
    is that a complicated solution?

  6. #6
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,777
    Depends on how comfortable you are with VBA, and whether people are happy opening workbooks with macros.

  7. #7
    Registered User
    Join Date
    09-06-2008
    Location
    Philly
    Posts
    40
    I guess find and replace it is!

+ 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. Skip Circular Reference...
    By harishs in forum Excel Worksheet Functions
    Replies: 6
    Last Post: 06-18-2008, 11:10 AM
  2. Reference cell between worksheets
    By markjoyus in forum Excel Worksheet Functions
    Replies: 1
    Last Post: 12-04-2007, 11:31 AM
  3. Conditional Formatting - Reference another cell
    By MitchU in forum Excel General
    Replies: 1
    Last Post: 11-21-2007, 04:41 PM
  4. Variable Cell Reference
    By Tyr@work in forum Excel Worksheet Functions
    Replies: 2
    Last Post: 11-16-2007, 06:53 PM

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.2.0