+ Reply to Thread
Results 1 to 7 of 7

links using sumifs function

  1. #1
    Registered User
    Join Date
    09-06-2013
    Location
    dallas, texas
    MS-Off Ver
    Excel 2007
    Posts
    4

    links using sumifs function

    OK here is the situation. I have first Excel 2007 workbook with some data. I have a second Excel 2007 workbook which is using the SUMIFS function on some of the cells in the first workbook. The function works as I intend and has the correct values. When I open just the second workbook all the cells with the SUMIFS functions referencing the first workbook all come up with #VALUE. If I then open the first workbook with the second already open I get all the correct values in the second workbook. I have verified (in the second workbook) that under Data/Edit Links/Update is set to "Automatic", Startup Prompt is set to "Dont Display the Alert and update links", under Excel Options/Advanced/When calculating this workbook/the update links to other documents is checked. What am I missing to get the correct values to display when opening just the second workbook? I have heard that some functions are not supported when linking to another workbook. Is that true and if so what functions are not supported?

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: links using sumifs function

    There are several functions that don't work when referencing a closed file.

    A few of them are:

    INDIRECT
    OFFSET
    SUMIF/S
    COUNTIF/S
    AVERAGEIF/S

    An alternative to SUMIFS that will work on a closed file is SUMPRODUCT.

    We would need to see your SUMIFS formula to be able to translate it into a SUMPRODUCT formula.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    09-06-2013
    Location
    dallas, texas
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: links using sumifs function

    I tried the SUMPRODUCT function. I acts just like the SUMIFS except is displays #REF instead of #VALUE. Just like before when I open the first workbook the SUMPRODUCT function works as I intend and has the correct value.

    Here is my original SUMIFS

    =SUMIFS('[A.xlsx]Date'!$T:$T,'[A.xlsx]Date'!$B:$B,">="&$A3+1,'[A.xlsx]Date'!$B:$B,"<="&$A4)

    $T contains integers
    $B and $A contain dates

  4. #4
    Valued Forum Contributor
    Join Date
    09-10-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    929

    Re: links using sumifs function

    If you can attach a sample workbook, it will us try and solve your problem faster...

    Click on Go Advanced... then look for a paperclip...

    re-post: My first suggestion is avoid referencing a whole column... $T:$T or $B:$B
    Try putting a range instead... $T1:$T100 or $B1:$B100

    Make sure that these ranges are the same size...
    Last edited by djapigo; 09-06-2013 at 06:32 PM.

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: links using sumifs function

    Quote Originally Posted by junksasa View Post

    Here is my original SUMIFS

    =SUMIFS('[A.xlsx]Date'!$T:$T,'[A.xlsx]Date'!$B:$B,">="&$A3+1,'[A.xlsx]Date'!$B:$B,"<="&$A4)
    The equivalent SUMPRODUCT formula is:

    =SUMPRODUCT(--([A.xlsx]Date!$B2:$B10>=$A3+1),--([A.xlsx]Date!$B2:$B10<=$A4),[A.xlsx]Date!$T2:$T10)

    You should avoid using entire columns as range references in the SUMPRODUCT function. Use smaller specific ranges.

  6. #6
    Registered User
    Join Date
    09-06-2013
    Location
    dallas, texas
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: links using sumifs function

    My SUMPRODUCT formula now works when I use specific ranges instead of the whole column. Thanks for the help

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: links using sumifs function

    You're welcome. 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. Loop function SUMIFS
    By jnh0 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-05-2013, 12:35 PM
  2. [SOLVED] NEED HELP! SUMIFS function
    By thedefense in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-25-2012, 08:47 PM
  3. [SOLVED] SUMIFS function?
    By jed38 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2012, 04:33 PM
  4. OR function in SUMIFS
    By skysurfer in forum Excel General
    Replies: 6
    Last Post: 05-09-2012, 02:41 AM
  5. Need help with SUMIFS function please
    By mTriniDee in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-04-2008, 11:50 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