I want to account for the total number of assets on hand, but there seems to be a duplicate problem I can't solve. I've got a total of 45 items under 2 customers, with 7 cells formulating for all items status/location. The current formula I'm using to count the totals is =SUM(M8,P8,P6,O6,M6+COUNTIF(E5:E49,"DL10"))-2. This is pulling from a large table, and since my formula wants to count the AWM and DL10s, its double counting items labeled with both. How can I count only one where AWM takes priority?
All cells contain formulas to count respective cells matching criteria. Table1=T1
[TABLE="width: 500"]
<tbody>[TR]
[TD]A1
[/TD]
[TD]M6
[/TD]
[TD]O6 T1(F5:F49)
[/TD]
[TD]P6
[/TD]
[TD]T1(E5:E49)
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Total (45)
[/TD]
[TD]INW
[/TD]
[TD]AWM
[/TD]
[TD]AWP
[/TD]
[TD]DL10
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]47
[/TD]
[TD]2
[/TD]
[TD]3
[/TD]
[TD]5
[/TD]
[TD]7
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]M8 ->
[/TD]
[TD]Customer 1
[/TD]
[TD]Customer 2
[/TD]
[TD]<- P8
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]15
[/TD]
[TD]13
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
All cells contain formulas to count respective cells matching criteria. Table1=T1
[TABLE="width: 500"]
<tbody>[TR]
[TD]A1
[/TD]
[TD]M6
[/TD]
[TD]O6 T1(F5:F49)
[/TD]
[TD]P6
[/TD]
[TD]T1(E5:E49)
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Total (45)
[/TD]
[TD]INW
[/TD]
[TD]AWM
[/TD]
[TD]AWP
[/TD]
[TD]DL10
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]47
[/TD]
[TD]2
[/TD]
[TD]3
[/TD]
[TD]5
[/TD]
[TD]7
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]M8 ->
[/TD]
[TD]Customer 1
[/TD]
[TD]Customer 2
[/TD]
[TD]<- P8
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]15
[/TD]
[TD]13
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Last edited: