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).
A Truck Utilization tab tracks the daily usage seen below.
[TABLE="class: cms_table, width: 2752"]
<tbody>[TR]
[TD="class: cms_table_xl190, width: 64"]UNIT #[/TD]
[TD="class: cms_table_xl196, width: 64"]Old #[/TD]
[TD="class: cms_table_xl191, width: 64"]TYPE[/TD]
[TD="class: cms_table_xl191, width: 64"]DESCRIPTION[/TD]
[TD="class: cms_table_xl190, width: 64"]ENTITY[/TD]
[TD="class: cms_table_xl190, width: 64"]LOCATION[/TD]
[TD="class: cms_table_xl192, width: 64"]YEAR[/TD]
[TD="class: cms_table_xl193, width: 64"]MODEL[/TD]
[TD="class: cms_table_xl197, width: 64"]Moved?[/TD]
[TD="class: cms_table_xl194, width: 64"]From[/TD]
[TD="class: cms_table_xl195, width: 64"]Date[/TD]
[TD="class: cms_table_xl198, width: 64"]7/1[/TD]
[TD="class: cms_table_xl198, width: 64"]7/2[/TD]
[TD="class: cms_table_xl198, width: 64"]7/3[/TD]
[TD="class: cms_table_xl198, width: 64"]7/4[/TD]
[TD="class: cms_table_xl198, width: 64"]7/5[/TD]
[TD="class: cms_table_xl198, width: 64"]7/6[/TD]
[TD="class: cms_table_xl198, width: 64"]7/7[/TD]
[TD="class: cms_table_xl198, width: 64"]7/8[/TD]
[TD="class: cms_table_xl198, width: 64"]7/9[/TD]
[TD="class: cms_table_xl198, width: 64"]7/10[/TD]
[TD="class: cms_table_xl198, width: 64"]7/11[/TD]
[TD="class: cms_table_xl198, width: 64"]7/12[/TD]
[TD="class: cms_table_xl198, width: 64"]7/13[/TD]
[TD="class: cms_table_xl198, width: 64"]7/14[/TD]
[TD="class: cms_table_xl198, width: 64"]7/15[/TD]
[TD="class: cms_table_xl198, width: 64"]7/16[/TD]
[TD="class: cms_table_xl198, width: 64"]7/17[/TD]
[TD="class: cms_table_xl198, width: 64"]7/18[/TD]
[TD="class: cms_table_xl198, width: 64"]7/19[/TD]
[TD="class: cms_table_xl198, width: 64"]7/20[/TD]
[TD="class: cms_table_xl198, width: 64"]7/21[/TD]
[TD="class: cms_table_xl198, width: 64"]7/22[/TD]
[TD="class: cms_table_xl198, width: 64"]7/23[/TD]
[TD="class: cms_table_xl198, width: 64"]7/24[/TD]
[TD="class: cms_table_xl198, width: 64"]7/25[/TD]
[TD="class: cms_table_xl198, width: 64"]7/26[/TD]
[TD="class: cms_table_xl198, width: 64"]7/27[/TD]
[TD="class: cms_table_xl198, width: 64"]7/28[/TD]
[TD="class: cms_table_xl198, width: 64"]7/29[/TD]
[TD="class: cms_table_xl198, width: 64"]7/30[/TD]
[TD="class: cms_table_xl198, width: 64"]7/31[/TD]
[TD="class: cms_table_xl198, width: 64"]MTD7[/TD]
[/TR]
[TR]
[TD="class: cms_table_xl189"]1[/TD]
[TD="class: cms_table_xl182"][/TD]
[TD="class: cms_table_xl186"]Vacuum[/TD]
[TD="class: cms_table_xl186"][/TD]
[TD="class: cms_table_xl182"][/TD]
[TD="class: cms_table_xl182"]Midland[/TD]
[TD="class: cms_table_xl182"]2005[/TD]
[TD="class: cms_table_xl187"]Peterbilt[/TD]
[TD="class: cms_table_xl184"][/TD]
[TD="class: cms_table_xl188"][/TD]
[TD="class: cms_table_xl185"][/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl183"][/TD]
[/TR]
</tbody>[/TABLE]
The Truck Summary tab shows the following
[TABLE="class: cms_table, width: 2426"]
<tbody>[TR]
[TD]Truck Types[/TD]
[TD]on List[/TD]
[TD]7/1[/TD]
[TD]7/2[/TD]
[TD]7/3[/TD]
[TD]7/4[/TD]
[TD]7/5[/TD]
[TD]7/6[/TD]
[TD]7/7[/TD]
[TD]7/8[/TD]
[TD]7/9[/TD]
[TD]7/10[/TD]
[TD]7/11[/TD]
[TD]7/12[/TD]
[TD]7/13[/TD]
[TD]7/14[/TD]
[TD]7/15[/TD]
[TD]7/16[/TD]
[TD]7/17[/TD]
[TD]7/18[/TD]
[TD]7/19[/TD]
[TD]7/20[/TD]
[TD]7/21[/TD]
[TD]7/22[/TD]
[TD]7/23[/TD]
[TD]7/24[/TD]
[TD]7/25[/TD]
[TD]7/26[/TD]
[TD]7/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D]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]10[/TD]
[TD][/TD]
[TD][/TD]
[TD]0
[/TD]
[/TR]
</tbody>[/TABLE]
At the far bottom right, you will see "0"s under Midland. I am attempting to calculate by availability (i have the daily formula figured out under the Truck Summary tab by using a sumifs), by location, and by type of truck. I attempted to use the Sumifs formula i have and adding the location range criteria but it returns a "0". It should pull the information from the Truck Utilization tab, right? Anyone have any ideas?
=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).
A Truck Utilization tab tracks the daily usage seen below.
[TABLE="class: cms_table, width: 2752"]
<tbody>[TR]
[TD="class: cms_table_xl190, width: 64"]UNIT #[/TD]
[TD="class: cms_table_xl196, width: 64"]Old #[/TD]
[TD="class: cms_table_xl191, width: 64"]TYPE[/TD]
[TD="class: cms_table_xl191, width: 64"]DESCRIPTION[/TD]
[TD="class: cms_table_xl190, width: 64"]ENTITY[/TD]
[TD="class: cms_table_xl190, width: 64"]LOCATION[/TD]
[TD="class: cms_table_xl192, width: 64"]YEAR[/TD]
[TD="class: cms_table_xl193, width: 64"]MODEL[/TD]
[TD="class: cms_table_xl197, width: 64"]Moved?[/TD]
[TD="class: cms_table_xl194, width: 64"]From[/TD]
[TD="class: cms_table_xl195, width: 64"]Date[/TD]
[TD="class: cms_table_xl198, width: 64"]7/1[/TD]
[TD="class: cms_table_xl198, width: 64"]7/2[/TD]
[TD="class: cms_table_xl198, width: 64"]7/3[/TD]
[TD="class: cms_table_xl198, width: 64"]7/4[/TD]
[TD="class: cms_table_xl198, width: 64"]7/5[/TD]
[TD="class: cms_table_xl198, width: 64"]7/6[/TD]
[TD="class: cms_table_xl198, width: 64"]7/7[/TD]
[TD="class: cms_table_xl198, width: 64"]7/8[/TD]
[TD="class: cms_table_xl198, width: 64"]7/9[/TD]
[TD="class: cms_table_xl198, width: 64"]7/10[/TD]
[TD="class: cms_table_xl198, width: 64"]7/11[/TD]
[TD="class: cms_table_xl198, width: 64"]7/12[/TD]
[TD="class: cms_table_xl198, width: 64"]7/13[/TD]
[TD="class: cms_table_xl198, width: 64"]7/14[/TD]
[TD="class: cms_table_xl198, width: 64"]7/15[/TD]
[TD="class: cms_table_xl198, width: 64"]7/16[/TD]
[TD="class: cms_table_xl198, width: 64"]7/17[/TD]
[TD="class: cms_table_xl198, width: 64"]7/18[/TD]
[TD="class: cms_table_xl198, width: 64"]7/19[/TD]
[TD="class: cms_table_xl198, width: 64"]7/20[/TD]
[TD="class: cms_table_xl198, width: 64"]7/21[/TD]
[TD="class: cms_table_xl198, width: 64"]7/22[/TD]
[TD="class: cms_table_xl198, width: 64"]7/23[/TD]
[TD="class: cms_table_xl198, width: 64"]7/24[/TD]
[TD="class: cms_table_xl198, width: 64"]7/25[/TD]
[TD="class: cms_table_xl198, width: 64"]7/26[/TD]
[TD="class: cms_table_xl198, width: 64"]7/27[/TD]
[TD="class: cms_table_xl198, width: 64"]7/28[/TD]
[TD="class: cms_table_xl198, width: 64"]7/29[/TD]
[TD="class: cms_table_xl198, width: 64"]7/30[/TD]
[TD="class: cms_table_xl198, width: 64"]7/31[/TD]
[TD="class: cms_table_xl198, width: 64"]MTD7[/TD]
[/TR]
[TR]
[TD="class: cms_table_xl189"]1[/TD]
[TD="class: cms_table_xl182"][/TD]
[TD="class: cms_table_xl186"]Vacuum[/TD]
[TD="class: cms_table_xl186"][/TD]
[TD="class: cms_table_xl182"][/TD]
[TD="class: cms_table_xl182"]Midland[/TD]
[TD="class: cms_table_xl182"]2005[/TD]
[TD="class: cms_table_xl187"]Peterbilt[/TD]
[TD="class: cms_table_xl184"][/TD]
[TD="class: cms_table_xl188"][/TD]
[TD="class: cms_table_xl185"][/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl182"]1[/TD]
[TD="class: cms_table_xl183"][/TD]
[/TR]
</tbody>[/TABLE]
The Truck Summary tab shows the following
[T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3[/TD]
[TD]3[/TD]
[TD]3[/TD]
[TD]3[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]30[/TD]
[TD][/TD]
[TD][/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]OOS-Internal[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]10[/TD]
[TD][/TD]
[TD][/TD]
[TD]0
[/TD]
[/TR]
</tbody>[/TABLE]
At the far bottom right, you will see "0"s under Midland. I am attempting to calculate by availability (i have the daily formula figured out under the Truck Summary tab by using a sumifs), by location, and by type of truck. I attempted to use the Sumifs formula i have and adding the location range criteria but it returns a "0". It should pull the information from the Truck Utilization tab, right? Anyone have any ideas?