+ Reply to Thread
Results 1 to 6 of 6

Referencing a cell [that updates with the date] to a sheet from another workbook that...

  1. #1
    Registered User
    Join Date
    07-29-2019
    Location
    Birmingham, Alabama
    MS-Off Ver
    Microsoft Office 16
    Posts
    2

    Exclamation Referencing a cell [that updates with the date] to a sheet from another workbook that...

    Referencing a cell [that updates with the date] to a sheet from another workbook [that has that particular date] and then referencing a column. So when it goes to a new sheet in the worksheet, it will reference a column and a cell within the column...

    So I was doing VLOOKUP and INDIRECT, but I dont want to manually do anything (if that makes sense).

    =VLOOKUP(D2,'[PC-SCHEDULE.xlsm]Jul19'!$AC$9:$BD$39,28,FALSE)
    ^---I just want this to update(the Jul19' (thats from the separate workbook)).

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

    Re: Referencing a cell [that updates with the date] to a sheet from another workbook that.

    Try

    =VLOOKUP(D2,INDIRECT("'[PC-SCHEDULE.xlsm]"&A1&"!$AC$9:$BD$39"),28,FALSE)

    You'll need to replace A1 with the workbook/sheet/cellreference that you're referring to.
    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.

  3. #3
    Registered User
    Join Date
    07-29-2019
    Location
    Birmingham, Alabama
    MS-Off Ver
    Microsoft Office 16
    Posts
    2

    Re: Referencing a cell [that updates with the date] to a sheet from another workbook that.

    I just tried that, but it is giving a #REF error. Not sure if its a single quote or quotations we're missing.

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

    Re: Referencing a cell [that updates with the date] to a sheet from another workbook that.

    So, specifically what formula did you type in?

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Referencing a cell [that updates with the date] to a sheet from another workbook that.

    Did you copy and paste or type? If you typed, make sure the quotes are STRAIGHT quotes, not angled or curly ones.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

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

    Re: Referencing a cell [that updates with the date] to a sheet from another workbook that.

    I had a quote missing just before the exclamation mark and $AC$9

    =VLOOKUP(D2,INDIRECT("'[PC-SCHEDULE.xlsm]"&A1&"'!$AC$9:$BD$39"),28,FALSE)
    Last edited by Special-K; 08-01-2019 at 05:38 AM.

+ 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. Replies: 2
    Last Post: 08-28-2015, 07:14 AM
  2. Referencing a cell from a workbook that is named by date
    By travis.cook21 in forum Excel General
    Replies: 3
    Last Post: 08-06-2015, 04:23 PM
  3. URGENT! I need to change a macro so that it updates a sheet in a separate workbook
    By gareth71 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-26-2014, 07:54 AM
  4. Cell referencing when copying a sheet to a different workbook
    By dmjohnston in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-15-2013, 03:47 AM
  5. [SOLVED] One file referencing another - never updates
    By Caulerpa in forum Excel General
    Replies: 1
    Last Post: 08-09-2012, 06:22 PM
  6. select date which updates sheet
    By lprenrut in forum Excel General
    Replies: 1
    Last Post: 11-30-2011, 06:51 PM
  7. [SOLVED] Referencing other sheets - updates
    By shakey1181 in forum Excel General
    Replies: 7
    Last Post: 07-23-2006, 09:05 PM

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