+ Reply to Thread
Results 1 to 7 of 7

How to use OFFSET formula when the source file is closed

  1. #1
    Registered User
    Join Date
    03-06-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    95

    How to use OFFSET formula when the source file is closed

    Hi,

    I have an OFFSET formula to get an every nth row in another excel, The links are correct, the formula works, but when I exit out of the source file and update I'm getting a #VALUE! error. When I open it back up, the formula is back and working perfectly. Any idea why this could be? It's in a shared folder, but I have many other formulas on the same page that link to this file and they don't have this problem.

    Thank you in advance

  2. #2
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: How to use OFFSET formula when the source file is closed

    Hi,

    unfortunately OFFSET function can not reference closed Workbooks.

    Maybe it would be better using a VLOOKUP and/or INDEX/MATCH.

    Hope it helps
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  3. #3
    Registered User
    Join Date
    03-06-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    95

    Re: How to use OFFSET formula when the source file is closed

    Thank you so much for your immediate response,

    Please help me how to use index instead of OFFSET in my formula

    I will explain what i want is - i have two excel files one is Master list.xls another one is Tool2.xls. I want to copy every 20th cell of Column A from master list to Tool2 Column A. As I said in my previous post i used the following formula.

    my formula is : IF(COUNT('[Master list.xlsx]Adults'!$C$2:$C$6266)<=10000,OFFSET('[Master list.xlsx]Adults'!B2,(ROW()-2)*19,0))
    this formula i want to put it in another excel file, 'Mater list' is my source file

    Thank you

  4. #4
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: How to use OFFSET formula when the source file is closed

    Hi,

    an attempt could be, but you have to adjust the counter

    (ROW()-2)*19)+1))

    on your numbers

    example

    Please Login or Register  to view this content.

    Edit: sorry for the corrections, i'm translating from Italian settings
    Last edited by canapone; 11-20-2013 at 02:49 AM.

  5. #5
    Registered User
    Join Date
    03-06-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    95

    Re: How to use OFFSET formula when the source file is closed

    Thank you so much for your reply it is working,

    but one small problem, Now I am getting from 20th cell but I want to copy first cell first and then every 20th cell

    Thank you

  6. #6
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: How to use OFFSET formula when the source file is closed

    Hi,

    maybe

    Please Login or Register  to view this content.
    1st , 21st , 41st position...in C2:C10000

    Hope it helps

  7. #7
    Registered User
    Join Date
    03-06-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    95

    Re: How to use OFFSET formula when the source file is closed

    Thank you so much its working

+ 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. [SOLVED] Use Closed Workbook as Data Source
    By puuts in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 03-20-2013, 09:20 AM
  2. Retrieve formula linked to closed xls file
    By tek9step in forum Excel General
    Replies: 4
    Last Post: 12-11-2009, 08:25 AM
  3. Replies: 1
    Last Post: 01-25-2007, 07:26 AM
  4. [SOLVED] Offset on closed file
    By snax500 in forum Excel General
    Replies: 0
    Last Post: 08-04-2006, 12:05 PM
  5. [SOLVED] How to update destination file with source files closed?
    By Alex Costache in forum Excel General
    Replies: 2
    Last Post: 08-01-2006, 05:10 AM

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