+ Reply to Thread
Results 1 to 5 of 5

SUMPRODUCT formula showing #VALUE

  1. #1
    Registered User
    Join Date
    07-26-2017
    Location
    Los Angeles, CA
    MS-Off Ver
    MS 2013
    Posts
    2

    Red face SUMPRODUCT formula showing #VALUE

    Hi Community!

    I am updating a worksheet at work that I am having trouble with - please see attached.

    The "Summery" tab is drawing from "Rollforward" but all formulas are returning a #VALUE.

    Please help! Thank you so much.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: SUMPRODUCT formula showing #VALUE

    When you are using sumproduct, you will get an error when you try to multiple text times a number. For example, in D9 of Summary

    =SUMPRODUCT((Rollforward!$A$9:$A$813=Summary!$A$7)*(Rollforward!$D$9:$D$813=Summary!B9)*(Rollforward!$I$9:$I$813))

    The first part of that equation ((Rollforward!$A$9:$A$813=Summary!$A$7)*(Rollforward!$D$9:$D$813=Summary!B9)) will always give a number (0 or 1). The second part
    *(Rollforward!$I$9:$I$813) is sometimes text. To fix this, set that last part as a separate argument (which is really the way SUMPRODUCT was set up to operate). Therefore, this equation becomes

    =SUMPRODUCT((Rollforward!$A$9:$A$813=Summary!$A$7)*(Rollforward!$D$9:$D$813=Summary!B9), (Rollforward!$I$9:$I$813))
    Hope that helps.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: SUMPRODUCT formula showing #VALUE

    For this formula in D9
    =SUMPRODUCT((Rollforward!$A$9:$A$813=Summary!$A$7)*(Rollforward!$D$9:$D$813=Summary!B9)*(Rollforward!$I$9:$I$813))

    You have a stray space in a cell that appears empty in Rollforward!I292
    That is technically a TEXT string, and Number*Text = #Value!

    Clear the contents of Rollforward!I292, and the formulas in Summary columns D and E work fine.

    I imaging similar issue for the other 'sets' of formulas in G:H etc..

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,423

    Re: SUMPRODUCT formula showing #VALUE

    Try it like this in D9:

    =SUMPRODUCT((Rollforward!$A$9:$A$813=$A$7)*(Rollforward!$D$9:$D$813=B9),Rollforward!$I$9:$I$813)

    and like this in G9:

    =SUMPRODUCT((Rollforward!$A$9:$A$813=$A$7)*(Rollforward!$D$9:$D$813=B9),Rollforward!$Z$9:$Z$813)

    then copy down.

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    07-26-2017
    Location
    Los Angeles, CA
    MS-Off Ver
    MS 2013
    Posts
    2

    Re: SUMPRODUCT formula showing #VALUE

    Thank you all so much! It worked!!

+ 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. Replies: 8
    Last Post: 10-25-2016, 03:34 PM
  2. [SOLVED] SUMPRODUCT showing #VALUE - Can't understand why it won't work
    By vkz7hxy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-12-2016, 08:36 AM
  3. Cell with Formula Not Showing Date - Only Showing Serial Number
    By jbb89777 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-07-2016, 04:33 AM
  4. Excel Formula not computing; Cell showing formula text
    By John_126 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-29-2016, 12:35 PM
  5. Sumproduct function showing text
    By Domyzon in forum Excel General
    Replies: 3
    Last Post: 10-29-2011, 02:29 AM
  6. Sumproduct with an if statement.... showing '#value'
    By Steve-B in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-10-2008, 08:04 AM
  7. [SOLVED] SUMPRODUCT is showing wrong Amount
    By msbutton27 in forum Excel General
    Replies: 2
    Last Post: 01-25-2006, 11:45 AM

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