+ Reply to Thread
Results 1 to 2 of 2

Save 2 workbooks as current month and use as template for future months

  1. #1
    Registered User
    Join Date
    03-13-2016
    Location
    Southern State
    MS-Off Ver
    Office 2010 & 2013
    Posts
    26

    Save 2 workbooks as current month and use as template for future months

    Hello,

    How do you set up a workbook for a month with formulas linked to other workbook with same month name.
    Example:
    1) Workbook 1 April Data
    2) Workbook 2 April Summary
    3) Workbook 2 April Summary is linked to Workbook 1 April Data to pull data using Vlookup and IF statements.

    If I save above workbooks as April then in May want to use April format and save as May, my formulas are still referring to April Workbook 1 Data. How can I save or copy the two files and formulas change to appropriate month as saved file (new)? Is this possible?

    Thank you very much.

  2. #2
    Valued Forum Contributor Sadath31's Avatar
    Join Date
    03-02-2011
    Location
    Dammam, Saudi Arabia
    MS-Off Ver
    Office 365
    Posts
    452

    Re: Save 2 workbooks as current month and use as template for future months

    Hi,
    One method is find and replace the source workbook name, just a click you can change all workbook links

    Eg. if you have this formula in May Summary ='[April Data.xlsx]Sheet1'!$A$2 , which you want to change into ='[May Data.xlsx]Sheet1'!$A$2
    then Find and Replace (Ctrl H) Find > April Data.xlsx Replace With May Data.xlsx and Replace All.
    This will change all the workbook link to the new file

    2nd Method
    Change All the formula enclosed in =INDIRECT()
    Eg. if you have ='[April Data.xlsx]Sheet1'!$A$2 then change into =INDIRECT("'["&E1&"]Sheet1'!$A$2")
    where E1 is
    HTML Code: 
    hope this helps

+ 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. formula add 6 months into current month
    By tariqnaz2005 in forum Excel General
    Replies: 8
    Last Post: 10-11-2015, 03:33 PM
  2. [SOLVED] VBA Insert Current Month, Year and subsequent months/year for 15 months
    By MichiganWilliams in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-19-2014, 03:49 PM
  3. [SOLVED] Make row that automatically adds newest month + 2 nearest future months
    By cudh in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-25-2014, 08:40 AM
  4. [SOLVED] How do I save to a folder that is the current month and have it save to next month"
    By shikano53 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-16-2014, 03:56 PM
  5. Replies: 5
    Last Post: 04-09-2014, 08:13 AM
  6. Macro using vlookups comparing 2 months paysheet(previous month and current month)
    By srinivasan1965 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-07-2012, 03:45 AM
  7. [SOLVED] Counting dates for a the present month but not future months
    By BrianInCalifornia in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-06-2005, 10:15 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.6.0 RC 1