Sum

kmrowlan

Board Regular
Joined
Aug 5, 2009
Messages
80
I am needing to capture the total $ of back charges grouped by department and time frame.

What formula would I use to sum the total back charges for a given month for each department?
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
I have actually linked a table from Sharepoint to Excel and the the table cannot be modified.

I also want a formula to pull the information to automatically populate a table for KPI's we have established for each department. I perfer not to utilize a pivot table each month to gather the data if possible

Thanks
 
Upvote 0
I am needing to capture the total $ of back charges grouped by department and time frame.

What formula would I use to sum the total back charges for a given month for each department?

Contructing a pivot table is a good option.

Other options...

On Excel 2007 or later:
Code:
=SUMIFS(SumRange,DateRange,">="&DATE(2011,4,1),
     DateRange,"<="&EOMONTH(DATE(2011,4,1),0),
       DepartmentRange,"Sales")

which totals SumRanges for the month/year pair of April 2011 and the Sales department.

For all Excel versions:
Code:
=SUMPRODUCT(
    SumRange,
    --(DateRange>=DATE(2011,4,1)),
    --(DateRange<=DATE(2011,4,1)-1),
    --(DepartmentRange="Sales"))
 
Upvote 0
I had the following look up but how do I include the sumrange into the formula that it is another column (G)?

=SUMPRODUCT(--('Credit DATA'!$H$2:$H$3223="Distribution - TX"),--('Credit DATA'!$L$2:$L$3223>=$A$3),--('Credit DATA'!$L$2:$L$3223<$A$4))
 
Upvote 0
I had the following look up but how do I include the sumrange into the formula that it is another column (G)?

=SUMPRODUCT(--('Credit DATA'!$H$2:$H$3223="Distribution - TX"),--('Credit DATA'!$L$2:$L$3223>=$A$3),--('Credit DATA'!$L$2:$L$3223<$A$4))

Try...
Code:
=SUMPRODUCT(
    'Credit DATA'!$G$2:$G$3223,
    --('Credit DATA'!$H$2:$H$3223 = "Distribution - TX"),
    --('Credit DATA'!$L$2:$L$3223 >= $A$3),
    --('Credit DATA'!$L$2:$L$3223 < $A$4))
 
Upvote 0

Forum statistics

Threads
1,224,550
Messages
6,179,463
Members
452,915
Latest member
hannnahheileen

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top