+ Reply to Thread
Results 1 to 2 of 2

File reference containing variable - is it possible?

  1. #1
    Registered User
    Join Date
    04-09-2013
    Location
    Bucharest, Romania
    MS-Off Ver
    Excel 2010
    Posts
    1

    File reference containing variable - is it possible?

    Hello,

    I have a large database that I need organized and centralized. The database contains sheets named "#year_#month" with identical structure but different data.

    Obviously the sheet that will centralize all the data will have large formulas containing a lot of file references. Currently I have to modify by hand the month or year inside the formulas.
    I wonder if there is a way I can inset a variable inside the file reference sheet name so that it modifies the referenced sheet automatically after a pattern.. or an alternative solution?

    Sorry if I missed the thread that already discussed this. I really appreciate the help.

    Best regards,
    Alex P.
    Last edited by AwelStaw; 04-09-2013 at 06:40 PM. Reason: Clarification

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: File reference containing variable - is it possible?

    you can use the indirect function or simply use find & replace (I prefer the latter as indirect will slow the workbook down)
    Josie

    if at first you don't succeed try doing it the way your wife told you to

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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