Summing a range with multiple criteria

drangel

New Member
Joined
Aug 29, 2014
Messages
18
Hi,

I am attempting to sum a range (multiple rows and columns) based on multiple criteria (location, type, and if it contains value >=0) in another tab in workbook. I have attempted sumifs, sum(if()), and array formulas but have been unsuccessful.

=SUMIFS('TRUCK Utilization'!P$7:P$367,'TRUCK Utilization'!P$7:P$367,">=0",Table2[TYPE],$B4,Table2[LOCATION],AL$3)

I actually want it to sum ALL values in range P11:AT367 (not just those in row P). When I select/input the entire range I get #Value or 0 and it doesn't sum any...

I want to put in a formula that will sum month to day (running total for the month) availability of truck in the particular location, if its the right type of truck, and if it was available (shown by a value greater than 0).
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
I attempted to attach a sample but have yet to find the Attachment icon. Here it is:

A Truck Utilization tab tracks the daily usage seen below.
UNIT #Old #TYPEDESCRIPTIONENTITYLOCATIONYEARMODELMoved?FromDate7/17/27/37/47/57/67/77/87/97/107/117/127/137/147/157/167/177/187/197/207/217/227/237/247/257/267/277/287/297/307/31MTD7
1VacuumHouston2005Peterbilt1111111111111111111111111111111

<tbody>
</tbody>


The Truck Summary tab shows the following
Truck Typeson List7/17/27/37/47/57/67/77/87/97/107/117/127/137/147/157/167/177/187/197/207/217/227/237/247/257/267/277/287/297/307/31MTD7Midland
Vacuum -4444444444000000000000000000000400
Available3333333333000000000000000000000300
OOS-Internal1111111111000000000000000000000100

<tbody>
</tbody>




The bottom right in bold (for Midland) is where I am attempting to calculate.
 
Upvote 0
I attempted to attach a sample but have yet to find the Attachment icon. Here it is:

A Truck Utilization tab tracks the daily usage seen below.
UNIT #Old #TYPEDESCRIPTIONENTITYLOCATIONYEARMODELMoved?FromDate7/17/27/37/47/57/67/77/87/97/107/117/127/137/147/157/167/177/187/197/207/217/227/237/247/257/267/277/287/297/307/31MTD7
1VacuumHouston2005Peterbilt1111111111111111111111111111111

<tbody>
</tbody>


The Truck Summary tab shows the following
Truck Typeson List7/17/27/37/47/57/67/77/87/97/107/117/127/137/147/157/167/177/187/197/207/217/227/237/247/257/267/277/287/297/307/31MTD7Midland
Vacuum -4444444444000000000000000000000400
Available3333333333000000000000000000000300
OOS-Internal1111111111000000000000000000000100

<tbody>
</tbody>




The bottom right in bold (for Midland) is where I am attempting to calculate... Do any of you have any ideas?
 
Upvote 0

Forum statistics

Threads
1,213,531
Messages
6,114,167
Members
448,554
Latest member
Gleisner2

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