[TABLE="width: 412"]
<tbody>[TR]
[TD]mode[/TD]
[TD]party[/TD]
[TD]item[/TD]
[TD]qty[/TD]
[TD][/TD]
[TD]books[/TD]
[/TR]
[TR]
[TD]Cash[/TD]
[TD]Depot1 [/TD]
[TD]Book100pg[/TD]
[TD="align: right"]100[/TD]
[TD][/TD]
[TD]Book100pg[/TD]
[/TR]
[TR]
[TD]Cash[/TD]
[TD]Depot1[/TD]
[TD]Book200pg[/TD]
[TD="align: right"]25[/TD]
[TD][/TD]
[TD]Book200pg[/TD]
[/TR]
[TR]
[TD]Cash[/TD]
[TD]Depot3[/TD]
[TD]Book200pg[/TD]
[TD="align: right"]65[/TD]
[TD][/TD]
[TD]Book400pg[/TD]
[/TR]
[TR]
[TD]Cash[/TD]
[TD]Depot1[/TD]
[TD]PencilLight[/TD]
[TD="align: right"]150[/TD]
[TD][/TD]
[TD]Book800pg[/TD]
[/TR]
[TR]
[TD]Chq[/TD]
[TD]Depot3[/TD]
[TD]Book200pg[/TD]
[TD="align: right"]150[/TD]
[TD][/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Chq[/TD]
[TD]Depot2[/TD]
[TD]Book400pg[/TD]
[TD="align: right"]75[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Cash[/TD]
[TD]Depot1[/TD]
[TD]TextBookE[/TD]
[TD="align: right"]75[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Chq[/TD]
[TD]Depot3[/TD]
[TD]TextBookB[/TD]
[TD="align: right"]35[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Chq
[/TD]
[TD]Depot2
[/TD]
[TD]
PencilDark
[/TD]
[TD="align: right"]144
[/TD]
[TD]
[TABLE="width: 412"]
<tbody>[TR]
[TD="align: right"]=sumifs(qty,mode,"Cash",item,{"Book100pg","Book200pg"} gives answer 100+25+65 = 190
=sumifs(qty,mode,"Cash",item,books) = answer 0
any solution for this
[/TD]
[TD]
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
</tbody><colgroup><col span="2"><col><col span="2"><col></colgroup>[/TABLE]
<tbody>[TR]
[TD]mode[/TD]
[TD]party[/TD]
[TD]item[/TD]
[TD]qty[/TD]
[TD][/TD]
[TD]books[/TD]
[/TR]
[TR]
[TD]Cash[/TD]
[TD]Depot1 [/TD]
[TD]Book100pg[/TD]
[TD="align: right"]100[/TD]
[TD][/TD]
[TD]Book100pg[/TD]
[/TR]
[TR]
[TD]Cash[/TD]
[TD]Depot1[/TD]
[TD]Book200pg[/TD]
[TD="align: right"]25[/TD]
[TD][/TD]
[TD]Book200pg[/TD]
[/TR]
[TR]
[TD]Cash[/TD]
[TD]Depot3[/TD]
[TD]Book200pg[/TD]
[TD="align: right"]65[/TD]
[TD][/TD]
[TD]Book400pg[/TD]
[/TR]
[TR]
[TD]Cash[/TD]
[TD]Depot1[/TD]
[TD]PencilLight[/TD]
[TD="align: right"]150[/TD]
[TD][/TD]
[TD]Book800pg[/TD]
[/TR]
[TR]
[TD]Chq[/TD]
[TD]Depot3[/TD]
[TD]Book200pg[/TD]
[TD="align: right"]150[/TD]
[TD][/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Chq[/TD]
[TD]Depot2[/TD]
[TD]Book400pg[/TD]
[TD="align: right"]75[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Cash[/TD]
[TD]Depot1[/TD]
[TD]TextBookE[/TD]
[TD="align: right"]75[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Chq[/TD]
[TD]Depot3[/TD]
[TD]TextBookB[/TD]
[TD="align: right"]35[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Chq
[/TD]
[TD]Depot2
[/TD]
[TD]
PencilDark
[/TD]
[TD="align: right"]144
[/TD]
[TD]
[TABLE="width: 412"]
<tbody>[TR]
[TD="align: right"]=sumifs(qty,mode,"Cash",item,{"Book100pg","Book200pg"} gives answer 100+25+65 = 190
=sumifs(qty,mode,"Cash",item,books) = answer 0
any solution for this
[/TD]
[TD]
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
</tbody><colgroup><col span="2"><col><col span="2"><col></colgroup>[/TABLE]