+ Reply to Thread
Results 1 to 3 of 3

sumif for values from Closed file

  1. #1
    Forum Contributor
    Join Date
    10-03-2005
    Posts
    185

    sumif for values from Closed file

    I am trying to summarise data from 50 different files (updated by 50 different users) into one file in one place. To do this I created a simple sumif function that links to those files. This sumif works correctly when those files are open. But when I open my output file after changes have been made to one or more of 50 input files, sumif function doesn't work when I hit update at the file opening pop up question and get #value error. If I start opening those files this error goes away and it works great again.

    Does anyone know any work around for this or some other good way to do this in excel. I am using Excel 2002 on XP Professional.

    I know ideal solution for this would be a database but given time, resource and cost contraints I can't do that for now. I guess I can bring all the data from 50 files into one file first and then do all my formulae but that would make my file size too big to be able to do anything.

    Any help is highly appreciated.

    Thank you,
    Jay
    Last edited by sa02000; 04-13-2009 at 11:54 AM. Reason: Better description in title for future use

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: sumif for values from different file

    SUMIF() doesn't work with closed workbooks... use SUMPRODUCT() instead.

    so if the SUMIF() was =Sumif(A1:A100,"X",B1:B100) then the Sumproduct equivalent would be =Sumproduct(--(A1:A100="X"),B1:B100)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    10-03-2005
    Posts
    185

    Re: sumif for values from different file

    Perfect. I have used sumproduct extensively and still forgot about it. Thank you.

    Jay

+ 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