• 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.

Nested Sumproduct formula

Hi,

Can you please help on the sumproduct formula for the below.

Cost centers are in one sheet and Division are on the other sheet.I need to find total sum.


Attached excel sheet fr kind reference.
upload_2017-6-9_16-51-43.png
 

Attachments

  • Chandoo_10Jun17.xlsx
    8.6 KB · Views: 4
In J3, formula copy down :

=SUMPRODUCT((LOOKUP(B$3:B$8,F$3:F$8,E$3:E$8)=I3)*C$3:C$8)

Regards
Bosco

1] Post #.2 formula invoking LOOKUP of it requires sorting Table in ascending order.

2] So if the Lookup range doesn't in sorting order, try to use Sumproduct+Countifs formula instead.

In J3, formula copy down :

=SUMPRODUCT(COUNTIFS(B$3:B$8,F$3:F$8,E$3:E$8,I3),C$3:C$8)

Regards
Bosco
 

Attachments

  • SumproductCountifs.xlsx
    10.2 KB · Views: 6
Back
Top