+ Reply to Thread
Results 1 to 3 of 3

SUMIF(By Date) - SUMIF(By Date)= #Value Error From Linked Data

  1. #1
    Registered User
    Join Date
    08-24-2007
    Posts
    5

    SUMIF(By Date) - SUMIF(By Date)= #Value Error From Linked Data

    Hey there:

    I'm having an issue with using the following code in Excel 2010:

    =SUMIF('I:\PMC\1 Current\05 Performance Reports\2012\2012-03\[Brazil 2012-03.xlsx]Project'!$Y$8:$Y$507,">="&DATE(2012,1,1),'I:\PMC\1 Current\05 Performance Reports\2012\2012-03\[Brazil 2012-03.xlsx]Project'!$AA$8:$AA$507) - SUMIF('I:\PMC\1 Current\05 Performance Reports\2012\2012-03\[Brazil 2012-03.xlsx]Project'!$Y$8:$Y$507,">"&DATE(2012,03,31),'I:\PMC\1 Current\05 Performance Reports\2012\2012-03\[Brazil 2012-03.xlsx]Project'!$AA$8:$AA$507)
    The formula finds all values in range Y8:Y507 that are >= January 1, 2012 and sums up the corresponding values found in cell range AA8:AA507 that meet that criteria. It then repeats the finding of all values in range Y8:Y507 that are < March 31, 2012 and sums up the corresponding values in AA8:AA507 to subtract them from the first SUMIF formula to find the year-to-date total for Brazil.

    The formula works beautifully when the linked worksheets are open. When they are closed, it returns a #Value error. After some research I have found that =SUMIF formula's by design have this problem and that the solution is either using a SUMPRODUCT formula or a CSE formula. Unfortunately, I have experimented with both and cannot seem to get the syntax right. Perhaps there is another way to tackle this issue that I'm not thinking of.

    Could anybody help me with this? Thanks in advance!
    Last edited by Dragunov; 05-17-2012 at 11:22 AM. Reason: Corrected title of thread to reflect (By Date) instead of (By Date Range)

  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(By Date) - SUMIF(By Date)= #Value Error From Linked Data

    SUMIF is one of the functions that, unfortunately, don't work with closed workbooks.

    You can revert to using SUMPRODUCT to do the same task with closed workbooks.

    Please Login or Register  to view this content.
    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
    Registered User
    Join Date
    08-24-2007
    Posts
    5

    Re: SUMIF(By Date) - SUMIF(By Date)= #Value Error From Linked Data

    Thank you! That works beautifully. I tried SUMPRODUCT so many times but couldn't seem to adapt the syntax for the situation. Have a great day. =)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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