+ Reply to Thread
Results 1 to 6 of 6

Sumproduct formula returning #Value! error

  1. #1
    Registered User
    Join Date
    11-12-2014
    Location
    california
    MS-Off Ver
    2007
    Posts
    3

    Sumproduct formula returning #Value! error

    Hi,

    I'm trying to figure out how to do a sumif or sumproduct between two different workbooks. Originally, I used the sumif formula, but when I closed one workbook, the other workbook with the sumif formula would show #Value! error. I know that you can use the sumproduct formula to fix this problem, but I can't seem to get the sumproduct formula to work correctly. I have tried different ways of writing the sumproduct formula, but it still gives me the #Value! error.

    Here's one of my sumproduct formula between two different workbooks:

    SUMPRODUCT(--('[2014 Strat Plan HR Investments.xlsx]PO Investment'!$C$13:$D$54=$C8),'[2014 Strat Plan HR Investments.xlsx]PO Investment'!Z$13:Z$54)

    Workbook 1: 2014 Strat Plan HR Investments v2 - test.xlsx (this is where I want the sumproduct formula to be)

    Workbook 2: 2014 Strat Plan HR Investments.xlsx (this is where I want the value to pick up)

    Any help is appreciated!

    Thanks

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Sumproduct formula returning #Value! error

    what was the sumif formula that worked?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Contributor
    Join Date
    02-24-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    317

    Re: Sumproduct formula returning #Value! error

    Would this work for you?
    Please Login or Register  to view this content.
    If I helped in any way, please click the star

  4. #4
    Registered User
    Join Date
    11-12-2014
    Location
    california
    MS-Off Ver
    2007
    Posts
    3

    Re: Sumproduct formula returning #Value! error

    Here's the sumif formula that returns a value between two different workbooks:
    =SUMIF('[2014 Strat Plan HR Investments.xlsx]PO Investment'!$C$13:$D$54,$C8,'[2014 Strat Plan HR Investments.xlsx]PO Investment'!Z$13:Z$54)

    However, when the workbook that contains the data closes, the other workbook that has the sumif formula returns the #Value! error. I don't want to reopen the two workbooks everytime I want the values to populate. I want to take the above sumif formula and embed the sumproduct formula into it to fix this problem.

    I have attached the two workbooks. Workbook "2014 STrat Plan HR Investments v2 - test.xlsx contains the sumif formula (cell G8) and it's highlighted in yellow.

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Sumproduct formula returning #Value! error

    why are you using C$13:$D$54 looks like c8 can only match in c12:c54

    =SUMPRODUCT(('[2014 Strat Plan HR Investments.xlsx]PO Investment'!$C$13:$C$54=$C8)*('[2014 Strat Plan HR Investments.xlsx]PO Investment'!Z$13:Z$54))
    works
    but even then you will have to hit enter in each cell for it to update via the link

  6. #6
    Registered User
    Join Date
    11-12-2014
    Location
    california
    MS-Off Ver
    2007
    Posts
    3

    Re: Sumproduct formula returning #Value! error

    Your sumproduct formula works. I don't have to open the data file to update the links and the #Value! error is not there anymore.

    Thanks for your help!

+ 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. Sumproduct - returning error #Div/0! - Please help
    By wvnimal in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-30-2013, 09:41 AM
  2. [SOLVED] Sumproduct returning #Error
    By Knocknaboula in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-06-2013, 03:24 PM
  3. [SOLVED] SUMPRODUCT formula returning #NUM! error message
    By inneedofhelp1 in forum Excel General
    Replies: 5
    Last Post: 11-06-2012, 10:04 AM
  4. [SOLVED] Sumproduct formula is returning #value error
    By ensmith in forum Excel General
    Replies: 2
    Last Post: 06-27-2012, 09:56 PM
  5. [SOLVED] SUMPRODUCT formula returning #VALUE! error
    By Valerie in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-28-2006, 09:40 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