+ Reply to Thread
Results 1 to 5 of 5

Autofill referencing a different workbook

  1. #1
    Registered User
    Join Date
    03-02-2015
    Location
    Oklahoma City, Oklahoma
    MS-Off Ver
    2010
    Posts
    7

    Autofill referencing a different workbook

    Hello,

    I have two workbooks I am working with. One(Control Numbers) is a list of numbers in column B and divisions in column E. I have to update this workbook daily. I then need this updated info to be in another workbook(Timecards) where it will be used in a LOOKUP forumula. To prevent me from having to copy/paste column B and E into the Timecards workbook every day I would like the Timecards workbook to reference the Control Numbers workbook that has the updated info. I have the formula to do that, but I can't get it to autofill correctly. I want A2 in Timecards to reference B2 in Control Numbers, A3 to reference B3, A4 to reference B4 and so on. The formula I am using is ='[CONTROL NUMBERS OFFICIAL FILE.xls]Sheet1'!$B$2 When I try to drag the formula down it copies the formula exactly as is rather than replacing B2 with B3, B4 etc. There are over 1,000 rows I need to do so entering them manually is out of the question. Thanks for your help.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,422

    Re: Autofill referencing a different workbook

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Autofill referencing a different workbook

    Hi, welcome to the forum

    Remove the $ signs (absoluting)...
    ='[CONTROL NUMBERS OFFICIAL FILE.xls]Sheet1'!B2
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    03-02-2015
    Location
    Oklahoma City, Oklahoma
    MS-Off Ver
    2010
    Posts
    7

    Re: Autofill referencing a different workbook

    Duh! Of course. Thank you! That did it. Thanks for the welcome!

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,422

    Re: Autofill referencing a different workbook

    You're welcome. Thanks for the rep.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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. Referencing Cells to correspond with their rows for autofill
    By NINmh in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 03-12-2015, 06:33 PM
  2. [SOLVED] Formula AutoFill - Last Row with Abosolute Referencing
    By JimmyG. in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-17-2014, 05:35 PM
  3. [SOLVED] Trouble copying data from closed workbook into active workbook, referencing help
    By lepperga in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-20-2013, 01:48 PM
  4. Excel 2007 : data referencing and autofill
    By firstdecimal in forum Excel General
    Replies: 0
    Last Post: 07-15-2011, 07:22 PM
  5. Trying to autofill function while referencing a workbook
    By mweiss1215 in forum Excel General
    Replies: 1
    Last Post: 07-14-2011, 12:23 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