+ Reply to Thread
Results 1 to 3 of 3

How to update destination file with source files closed?

  1. #1
    Alex Costache
    Guest

    How to update destination file with source files closed?

    Hello,

    I am working on a project now where I have to import data from 5 different
    files. Everything works fine, as long as I have all source files opened when
    I open and update the data in the destionation file. If 1 or more source
    files are closed (not opened on the computer) all cells that refer to the
    source files display "#VALUE". The only formulas I used are COUNTA and
    COUNTIF.

    On a different project I used VLOOKUP and it works perfectly, it updates the
    data from the source files without any of the source files to be opened.

    Please let me know what should I do (if there is something to be done), in
    order to be able to use this destination file, without having to open
    previously 5 other files.

    Thank you.

  2. #2
    Tom Hutchins
    Guest

    RE: How to update destination file with source files closed?

    I am not sure about COUNT and COUNTA, but many functions (such as COUNTIF)
    cannot be used on a closed workbook. You can probably do everything with
    SUMPRODUCT you can do with COUNT or COUNTA, and it does work with closed
    workbooks. For example, the two following formulas give the same results:

    =COUNTA(C7:C18)
    =SUMPRODUCT(--(C7:C18<>""))

    If you are unfamiliar with SUMPRODUCT, check out this link:
    http://www.xldynamic.com/source/xld.SUMPRODUCT.html

    Hope this helps,

    Hutch

    "Alex Costache" wrote:

    > Hello,
    >
    > I am working on a project now where I have to import data from 5 different
    > files. Everything works fine, as long as I have all source files opened when
    > I open and update the data in the destionation file. If 1 or more source
    > files are closed (not opened on the computer) all cells that refer to the
    > source files display "#VALUE". The only formulas I used are COUNTA and
    > COUNTIF.
    >
    > On a different project I used VLOOKUP and it works perfectly, it updates the
    > data from the source files without any of the source files to be opened.
    >
    > Please let me know what should I do (if there is something to be done), in
    > order to be able to use this destination file, without having to open
    > previously 5 other files.
    >
    > Thank you.


  3. #3
    Alex Costache
    Guest

    RE: How to update destination file with source files closed?


    Thanks for the help, it solved my problem completely.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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