+ Reply to Thread
Results 1 to 5 of 5

Need to Convert SUMIFS Formula so that closed Workbook can be referenced

  1. #1
    Registered User
    Join Date
    01-06-2024
    Location
    NJ
    MS-Off Ver
    365
    Posts
    2

    Need to Convert SUMIFS Formula so that closed Workbook can be referenced

    Hello,

    I'm trying to convert the formula below so that a closed workbook can be referenced on a workbook to be posted within Teams. Any assistance would be appreciated!

    =SUMIFS('[DATA EXPORTS.xlsx]HOURS EXPORT - TASK SUMMARY'!$E:$E,'[DATA EXPORTS.xlsx]HOURS EXPORT - TASK SUMMARY'!$J:$J,S5)

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,240

    Re: Need to Convert SUMIFS Formula so that closed Workbook can be referenced

    Welcome to the forum.

    Try:

    =SUMPRODUCT(('[DATA EXPORTS.xlsx]HOURS EXPORT - TASK SUMMARY'!$J:$J=S5)*'[DATA EXPORTS.xlsx]HOURS EXPORT - TASK SUMMARY'!$E:$E)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    01-06-2024
    Location
    NJ
    MS-Off Ver
    365
    Posts
    2

    Re: Need to Convert SUMIFS Formula so that closed Workbook can be referenced

    Thanks for the warm welcome! Unfortunately, this substitution is returning a #VALUE error

    I'm so frustrated, I worked so hard to get this formula to work only to realize that it only works if the source data file is open!

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Need to Convert SUMIFS Formula so that closed Workbook can be referenced

    Really???

    Save both files to the same location and open Book 2.

    NEVER use whole columns with SUMPRODUCT. Every time it sees a whole-column reference it calculates all 1,000,000+++ rows. That can make things very slow.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,683

    Re: Need to Convert SUMIFS Formula so that closed Workbook can be referenced

    crossposted: https://www.mrexcel.com/board/thread...enced.1251410/

    Rule 7: Cross-posting Without Telling Us

    Your post does not comply with Rule 3 of our Forum RULES. Do not cross-post your question on multiple forums without telling us about your threads on other forums.

    Post a link to any other forums where you have asked the same question.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Read this to understand why we ask you to do this.

    I have added the crosspost reference for you today. Please comply with this and all our rules in the future

    However, if you continue to crosspost, you can expect to have your thread BLOCKED until you update it yourself.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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] Formula giving a #value error if i closed referenced workbook
    By HaroonSid in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-05-2019, 10:41 AM
  2. =COUNTIF with a referenced closed workbook
    By benjii19 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-09-2016, 08:44 AM
  3. Sumifs using vba in closed workbook
    By intex in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-16-2014, 04:16 PM
  4. [SOLVED] Help with SUMIFS with closed workbook
    By reem01 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-03-2014, 06:22 PM
  5. #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
  6. Replies: 2
    Last Post: 10-13-2009, 12:23 PM

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