ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   sumif function (https://www.excelbanter.com/excel-worksheet-functions/88133-sumif-function.html)

DAB

sumif function
 
trying to use two colums, store location number, and department number, to
sumif their cost to an health premium bill. Not sure how to bracket the
formula and wheither or not to use "and" or another sumif or other
david


Duke Carey

sumif function
 
Assuming the health premiums are in col C

=sumproduct(--(A1:A100=store#),--(B1:B100=dept#),C1:C100)

"DAB" wrote:

trying to use two colums, store location number, and department number, to
sumif their cost to an health premium bill. Not sure how to bracket the
formula and wheither or not to use "and" or another sumif or other
david


DAB

sumif function
 
thank you for the prompt response, it helped and will help my accounts
payable clerk with allocations.

"Duke Carey" wrote:

Assuming the health premiums are in col C

=sumproduct(--(A1:A100=store#),--(B1:B100=dept#),C1:C100)

"DAB" wrote:

trying to use two colums, store location number, and department number, to
sumif their cost to an health premium bill. Not sure how to bracket the
formula and wheither or not to use "and" or another sumif or other
david



All times are GMT +1. The time now is 07:23 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com