+ Reply to Thread
Results 1 to 5 of 5

sumifs/sumproduct formula returns error or zero

  1. #1
    Forum Contributor
    Join Date
    05-01-2018
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    117

    sumifs/sumproduct formula returns error or zero

    Hello All

    I'm trying to sum all received quantities (from column E) with few criteria
    * Purchase Order (column G Sheet1) only if starts with "47xxx)
    * valuation type (column F Sheet1) = NEW
    * movement type (column J Sheet1) = GR goods receipt

    I have tried sumproduct = formula in column D (sheet2) and sumifs = formula in column E (sheet2) however ... first solution shows N/A and second "0"

    where is the issue?

    any support please

    thanks
    Attached Files Attached Files

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

    Re: sumifs/sumproduct formula returns error or zero

    I changed you SP formula in D2 to this:

    =SUMPRODUCT((LEFT(Sheet1!$D$2:$D$64674, 2)="47")*(Sheet1!$A$2:$A$64674=Sheet2!B1)*(Sheet1!$F$2:$F$64674=Sheet1!$F$2)*(Sheet1!$C$2:$C$64674="new"))

    by removing the asterisk from the "47*" and by changing the range in the second condition term from $A$1 to $A$2 to make all the ranges the same size. This got rid of the errors and now returns 0 like the SUMIFS formula.

    Are you sure that there are any records which match those criteria?

    Hope this helps.

    Pete

  3. #3
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: sumifs/sumproduct formula returns error or zero

    Try this in C3.

    =SUMPRODUCT(--(LEFT(Sheet1!$D$2:$D$64674, 2)="47"),--(Sheet1!$A$2:$A$64674=Sheet2!B1),--(Sheet1!$F$2:$F$64674=Sheet1!$F$2),--(Sheet1!$C$2:$C$64674="new"),(Sheet1!B$2:B$64674))
    1. Click on the * Add Reputation if you think this helped you
    2. Mark your thread as SOLVED when question is resolved

    Modytrane

  4. #4
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: sumifs/sumproduct formula returns error or zero

    Sorry, Try that in C1 and drag it down.

  5. #5
    Forum Contributor
    Join Date
    05-01-2018
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    117

    Re: sumifs/sumproduct formula returns error or zero

    Hiya
    works perfectly
    thank you

+ 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] sumifs/sumproduct formula returns VALUE error
    By adsako in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-01-2018, 08:17 AM
  2. [SOLVED] SUMPRODUCT returns #N/A error
    By maym in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-14-2017, 01:51 AM
  3. [SOLVED] SUMIFS returns a #Value error when the external spreadsheet is closed.
    By adil.master in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-27-2017, 12:37 PM
  4. [SOLVED] sumifs formula returns error
    By kronikjb in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-08-2015, 12:51 PM
  5. Sumproduct formula returns #VALUE error
    By Freddobonanza in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-30-2012, 01:36 AM
  6. SumProduct formula returns #VALUE Error
    By Ra21V12eN in forum Excel General
    Replies: 7
    Last Post: 02-12-2009, 04:48 PM
  7. Sumproduct Returns Value Error
    By annie46 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-08-2008, 03:16 PM

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