+ Reply to Thread
Results 1 to 9 of 9

SUMIF returned #VALUE! when I Move or Copy into new book

  1. #1
    Forum Contributor
    Join Date
    06-05-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    109

    SUMIF returned #VALUE! when I Move or Copy into new book

    Hi all,

    I was applying SUMIF formulae in Book A Sheet 1, and then when I move or copy the Book A Sheet 1 and paste into Book B Sheet 1, all the formulae returned #VALUE!
    I understood that this SUMIF is an array formula, so I've hit ctrl-shift-enter instead of enter in Book A Sheet 1 before I move or copy.
    However by move and copy paste into new Sheet, it's all returned in #VALUE!

    I do not want to open the resources file every time when I move the sheets from A to B as the resources file are huge.
    It's just not one resources file that I have to open, it's 12 BIG resources file !!

    Someone please advice me some alternative solution without open the resources file....

    It has to use sumif instead of vlookup because of the shorter formulae involved.

    Thanks in advance
    cks1026.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: SUMIF returned #VALUE! when I Move or Copy into new book

    SUMIF doesn't work on closed workbooks, use SUMPRODUCT instead.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Contributor
    Join Date
    06-05-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    109

    Re: SUMIF returned #VALUE! when I Move or Copy into new book

    Hi Special-K,

    How can I do so using Sumproduct? both are not working the same, or how can it work the same as SUMIF?

    Thanks
    cks1026

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: SUMIF returned #VALUE! when I Move or Copy into new book

    What's your SUMIF formula?

  5. #5
    Forum Contributor
    Join Date
    06-05-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    109

    Re: SUMIF returned #VALUE! when I Move or Copy into new book

    Hi Special-K,

    Something like this

    =SUMIF('[1st Sept AP-ALL DIV MLE Report amended.xlsx]MLE in $ value'!$A$4:$A$53,$A$165,'[1st Sept AP-ALL DIV MLE Report amended.xlsx]MLE in $ value'!D$4:D$53)/1000+SUMIF('[1st Sept AP-ALL DIV MLE Report amended.xlsx]MLE in $ value'!$A$4:$A$53,$A$165,'[1st Sept AP-ALL DIV MLE Report amended.xlsx]MLE in $ value'!S$4:S$53)

    Basically it means, forecast in v$ + (rebates in $)
    example, $3.5mil + (-$0.5mil) = $3mil

    thx in advance

  6. #6
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: SUMIF returned #VALUE! when I Move or Copy into new book

    Try (untested)

    =SUMPRODUCT((('[1st Sept AP-ALL DIV MLE Report amended.xlsx]MLE in $ value'!$A$4:$A$53=$A$165)*('[1st Sept AP-ALL DIV MLE Report amended.xlsx]MLE in $ value'!D$4:D$53/1000))+(('[1st Sept AP-ALL DIV MLE Report amended.xlsx]MLE in $ value'!$A$4:$A$53=$A$165)*('[1st Sept AP-ALL DIV MLE Report amended.xlsx]MLE in $ value'!S$4:S$53))

  7. #7
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: SUMIF returned #VALUE! when I Move or Copy into new book

    Assuming data in D4:D53 and S4:S53 is all numeric (no text) then this simpler version should work for you

    =SUMPRODUCT(('[1st Sept AP-ALL DIV MLE Report amended.xlsx]MLE in $ value'!$A$4:$A$53=$A$165)+0,'[1st Sept AP-ALL DIV MLE Report amended.xlsx]MLE in $ value'!D$4:D$53/1000+'[1st Sept AP-ALL DIV MLE Report amended.xlsx]MLE in $ value'!S$4:S$53)
    Audere est facere

  8. #8
    Forum Contributor
    Join Date
    06-05-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    109

    Re: SUMIF returned #VALUE! when I Move or Copy into new book

    Hi Special-K, and daddylonglegs,

    Thanks for responding...

    For some reason both set of formulae return in #VALUE!...
    Maybe I miss out something here, but then, I can tell you column A is not numeric, it's more like a description
    Column D and Column S are numeric....

    Thanks for looking into my problem....

    Regards
    cks1026

  9. #9
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: SUMIF returned #VALUE! when I Move or Copy into new book

    For the formula I suggested column A can be text but D and S must be numeric - even a "formula blank" in one of those columns would lead to a #VALUE! error, perhaps you have those? This version should work even in that scenario:

    =SUMPRODUCT(('[1st Sept AP-ALL DIV MLE Report amended.xlsx]MLE in $ value'!$A$4:$A$53=$A$165),'[1st Sept AP-ALL DIV MLE Report amended.xlsx]MLE in $ value'!D$4:D$53)/1000+SUMPRODUCT(('[1st Sept AP-ALL DIV MLE Report amended.xlsx]MLE in $ value'!$A$4:$A$53=$A$165),'[1st Sept AP-ALL DIV MLE Report amended.xlsx]MLE in $ value'!S$4:S$53)

+ 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] Can not move/copy spreadsheet to another book?
    By Ken Hudson in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-06-2005, 07:05 PM
  2. Can not move/copy spreadsheet to another book?
    By Ken Hudson in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-06-2005, 02:05 PM
  3. Can not move/copy spreadsheet to another book?
    By relmsta in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 11:05 AM
  4. Can not move/copy spreadsheet to another book?
    By relmsta in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  5. [SOLVED] Can not move/copy spreadsheet to another book?
    By relmsta in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 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