• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Sum Product not giving result

Thomas Kuriakose

Active Member
Respected Sirs,

Kindly find attached our workbook where we have used sum product to calculate two values, but this is giving result as #N/A.

The four columns from AH1 to AK2 have error headers but this is coming from another data which has index and match and based on the entries the headers will be updated and hence this cannot be omitted.

Thank you very much,

with regards,
thomas
 

Attachments

  • Sumproduct.xlsx
    10.8 KB · Views: 8
Hi Thomas,

You can handle you error through IFERROR formula

use below formula with ctrl+shft+enter

=SUMPRODUCT(IFERROR($A$1:$AK$1="Motor",0)*IFERROR($A$2:$AK$2="AP",0)*IFERROR($A$3:$AK$4,0))

Respected Sirs,

Kindly find attached our workbook where we have used sum product to calculate two values, but this is giving result as #N/A.

The four columns from AH1 to AK2 have error headers but this is coming from another data which has index and match and based on the entries the headers will be updated and hence this cannot be omitted.

Thank you very much,

with regards,
thomas
 
Hi,

It is also possible that,

=SUM(COUNTIFS(C17,A1:AK1,D17,A2:AK2)*A3:AK4)
=SUM((COUNTIF(C17,A1:AK1)+COUNTIF(E17,A1:AK1))*COUNTIF(D17,A2:AK2)*A3:AK7)
An array

David
 

Attachments

  • Sumproduct1.xlsx
    11.2 KB · Views: 1
Back
Top