+ Reply to Thread
Results 1 to 6 of 6

SUMPRODUCT Not working across separate workbooks #REF issue

  1. #1
    Forum Contributor
    Join Date
    11-18-2014
    Location
    England
    MS-Off Ver
    365
    Posts
    132

    SUMPRODUCT Not working across separate workbooks #REF issue

    I am using SUPRODUCT to summarise some call data. the call data is in workbook one (call info example) and the dashboard is in another workbook (Dashboard example) I have used SUMPRODUCT in this way before instead of COUNTIF and SUMIF across different workbooks but for some reason on this one if I open the workbook 'dashboard example' on it's own all the formulas show REF as the answer, until I open the 'calls info example' workbook - I don't really want to store the data on the same workbook as it will make it too big eventually - this is why I separated the data and the dashboard. I don't want the user to have to open both workbooks either

    Like I said, have used SUMPRODUCT to achieve this before with other data (not necessarily calls and time data though) so I am not sure what I am doing wrong?
    FYI This part of some of the formulas is because I only wsnt to look at calls greater than or equal to 30 seconds 'Calls info example.xlsx'!Table1[Duration]>=0.000347222222222222

    any help appreciated.
    Attached Files Attached Files
    Last edited by moneypennie21; 10-26-2022 at 04:38 AM.

  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
    53,047

    Re: SUMPRODUCT Not working across separate workbooks #REF issue

    Make sure the referenced file is open.
    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 Contributor
    Join Date
    11-18-2014
    Location
    England
    MS-Off Ver
    365
    Posts
    132

    Re: SUMPRODUCT Not working across separate workbooks #REF issue

    Hi FDibbins, I am looking for a reason why they don't work when the referenced file is NOT open I have several examples of files where SUMPRODUCT works fine even when the referenced file is NOT open so I don't know why these ones don't - this is the main reason I use SUMPRODUCT as I want to keep my data separate from my dashboard but I don't want the user to have to have the data sheet open, only the dashboard.

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,729

    Re: SUMPRODUCT Not working across separate workbooks #REF issue

    You cannot use structured references with a closed workbook, you will need to change them to normal ranges.

  5. #5
    Forum Contributor
    Join Date
    11-18-2014
    Location
    England
    MS-Off Ver
    365
    Posts
    132

    Re: SUMPRODUCT Not working across separate workbooks #REF issue

    ahhhhhh! Yes thank you I think I get it now! I will change the ranges! Thank you, answer is always so simple!!

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,729

    Re: SUMPRODUCT Not working across separate workbooks #REF issue

    Glad to help & thanks for the feedback.

+ 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. Creating a macro to split data into separate workbooks and separate worksheets
    By jfish07 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-27-2019, 10:48 AM
  2. Replies: 1
    Last Post: 06-02-2015, 12:28 AM
  3. [SOLVED] Issue copying and pasting large data from separate workbooks into a new workbook
    By davo52 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-11-2014, 10:03 AM
  4. Separate Worksheets into Separate Workbooks
    By adileva in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-08-2013, 01:36 PM
  5. Replies: 4
    Last Post: 02-25-2013, 04:10 PM
  6. Replies: 2
    Last Post: 08-17-2012, 08:16 AM
  7. Sumproduct Formula Not Working Consistently - Date Issue
    By gav0101 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-19-2008, 10:30 AM

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