N Nandakumar Member Jun 9, 2017 #1 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. Attachments Chandoo_10Jun17.xlsx 8.6 KB · Views: 4
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.
B bosco_yip Excel Ninja Jun 9, 2017 #2 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 Attachments SumproductLookup.xlsx 10.2 KB · Views: 7
B bosco_yip Excel Ninja Jun 9, 2017 #4 bosco_yip said: 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 Click to expand... 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
bosco_yip said: 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 Click to expand... 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