+ Reply to Thread
Results 1 to 10 of 10

Help with SUMIFS with closed workbook

  1. #1
    Registered User
    Join Date
    04-07-2010
    Location
    Boise, ID
    MS-Off Ver
    Version 2003 (Build 12624.20466)
    Posts
    33

    Question Help with SUMIFS with closed workbook

    I have 3 workbooks that I pull data out of for metrics that is it's own workbook. I now know that SUMIFS will not work in this scenario unless the other workbooks are open. Below is an example formula that I am using to pull data from one of my sheets. Would someone be willing to assist in recreating this formula into something that will work with a closed workbook source?

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


    Any assistance would be appreciated.

    Thanks

    Mike

  2. #2
    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,939

    Re: Help with SUMIFS with closed workbook

    it might be easier to offer suggestions if we has (clean) samples of what you are working with?
    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

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Help with SUMIFS with closed workbook

    Replace SUMIFS with SUMPRODUCT which does work on closed workbooks. The only drawback is that you have to use full paths to each workbook

  4. #4
    Registered User
    Join Date
    04-07-2010
    Location
    Boise, ID
    MS-Off Ver
    Version 2003 (Build 12624.20466)
    Posts
    33

    Re: Help with SUMIFS with closed workbook

    Here are scrubbed versions of the spreadsheets that I am using. There are more worksheets on these,and I think I can recreate the formulas for the other sheets and workbooks.

    2014 PC Metrics.xlsx
    2014 PC Orders.xlsx

    Thanks

  5. #5
    Registered User
    Join Date
    04-07-2010
    Location
    Boise, ID
    MS-Off Ver
    Version 2003 (Build 12624.20466)
    Posts
    33

    Re: Help with SUMIFS with closed workbook

    Pepe, I tried using SUMPRODUCT earlier with no luck. I am using a date range with the SUMIFS and was not able to recreate it with the SUMPRODUCT formula. I will continue to figure it out on my own as well, but if someone can supply to proper formula code, I would really appreciate it.

    Thanks

  6. #6
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Help with SUMIFS with closed workbook

    Did you add the complete path to the wbks?
    Also keep in mind that if you change anything you will have to refresh the source

  7. #7
    Registered User
    Join Date
    04-07-2010
    Location
    Boise, ID
    MS-Off Ver
    Version 2003 (Build 12624.20466)
    Posts
    33

    Re: Help with SUMIFS with closed workbook

    I did not put full path, I will attempt that.

    Thanks

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Help with SUMIFS with closed workbook

    The date format used in Sumproduct might cause you problems. I have found that this syntax works well:

    <=DATE(2013,1,18) and >=DATE(2013,1,3)

    Another thing that works well is to have the dates to be used in Sumproduct in cells so that you can simply reference the cells where the dates are. <=D3 >=D4 for example.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  9. #9
    Registered User
    Join Date
    04-07-2010
    Location
    Boise, ID
    MS-Off Ver
    Version 2003 (Build 12624.20466)
    Posts
    33

    Re: Help with SUMIFS with closed workbook

    Appreciate all the help provided. Putting the dates in a cell and referencing those cells was the key. I created hidden columns to hold that information. My new formula is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    If it doesn't auto-populate the full path, I will manually do that.

    Thanks

  10. #10
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Help with SUMIFS with closed workbook

    Thanks for the feedback.

    Good luck with the project.

+ 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] SUMIFS returns a #Value error when the external spreadsheet is closed.
    By adil.master in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-27-2017, 12:37 PM
  2. [SOLVED] strange sumifs problem, works with file open, #value with file closed
    By neowok in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-04-2013, 05:32 AM
  3. [SOLVED] Copying data from a closed workbook into an open workbook ignoring excel filter?
    By reach78 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 09-17-2013, 12:31 AM
  4. #VALUE errer received on a SUMIFS formula to a closed workbook
    By tom257 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-08-2013, 06:35 AM
  5. Copy One Sheet From One Closed Workbook To Another Closed WB
    By teshiburu1988 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-04-2009, 11:49 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