Hello
I try to use sumifs function with 2 criteria range, but it does'nt work. It works when I use jsut one range but Not with 2 ranges
Any help please?
Citeria Range 1 : {2015;2014}
Citeria Range 2 : {"Paris";"Madrid"}
=SOMPRODUCT(SUMIFS($A$2:$A$13;$B$2:$B$13;{2015;2014};$C$2:$C$13;{"Paris";"Madrid"}))
[TABLE="width: 264"]
<colgroup><col width="88" span="3" style="width:66pt"> </colgroup><tbody>[TR]
[TD="class: xl64, width: 88"]Montant[/TD]
[TD="class: xl64, width: 88"]Year[/TD]
[TD="class: xl64, width: 88"]Town[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]2000[/TD]
[TD="class: xl63, align: right"]2014[/TD]
[TD="class: xl63"]Paris[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]3000[/TD]
[TD="class: xl63, align: right"]2016[/TD]
[TD="class: xl63"]London[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]4000[/TD]
[TD="class: xl63, align: right"]2015[/TD]
[TD="class: xl63"]Madrid[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]5000[/TD]
[TD="class: xl63, align: right"]2016[/TD]
[TD="class: xl63"]Madrid[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]6000[/TD]
[TD="class: xl63, align: right"]2015[/TD]
[TD="class: xl63"]London[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]7000[/TD]
[TD="class: xl63, align: right"]2015[/TD]
[TD="class: xl63"]London[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]8000[/TD]
[TD="class: xl63, align: right"]2016[/TD]
[TD="class: xl63"]Paris[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]9000[/TD]
[TD="class: xl63, align: right"]2016[/TD]
[TD="class: xl63"]Madrid[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]10000[/TD]
[TD="class: xl63, align: right"]2015[/TD]
[TD="class: xl63"]Madrid[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]11000[/TD]
[TD="class: xl63, align: right"]2016[/TD]
[TD="class: xl63"]London[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]12000[/TD]
[TD="class: xl63, align: right"]2014[/TD]
[TD="class: xl63"]Paris[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]13000[/TD]
[TD="class: xl63, align: right"]2015[/TD]
[TD="class: xl63"]Paris[/TD]
[/TR]
</tbody>[/TABLE]
Many Thanks
Djam
I try to use sumifs function with 2 criteria range, but it does'nt work. It works when I use jsut one range but Not with 2 ranges
Any help please?
Citeria Range 1 : {2015;2014}
Citeria Range 2 : {"Paris";"Madrid"}
=SOMPRODUCT(SUMIFS($A$2:$A$13;$B$2:$B$13;{2015;2014};$C$2:$C$13;{"Paris";"Madrid"}))
[TABLE="width: 264"]
<colgroup><col width="88" span="3" style="width:66pt"> </colgroup><tbody>[TR]
[TD="class: xl64, width: 88"]Montant[/TD]
[TD="class: xl64, width: 88"]Year[/TD]
[TD="class: xl64, width: 88"]Town[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]2000[/TD]
[TD="class: xl63, align: right"]2014[/TD]
[TD="class: xl63"]Paris[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]3000[/TD]
[TD="class: xl63, align: right"]2016[/TD]
[TD="class: xl63"]London[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]4000[/TD]
[TD="class: xl63, align: right"]2015[/TD]
[TD="class: xl63"]Madrid[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]5000[/TD]
[TD="class: xl63, align: right"]2016[/TD]
[TD="class: xl63"]Madrid[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]6000[/TD]
[TD="class: xl63, align: right"]2015[/TD]
[TD="class: xl63"]London[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]7000[/TD]
[TD="class: xl63, align: right"]2015[/TD]
[TD="class: xl63"]London[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]8000[/TD]
[TD="class: xl63, align: right"]2016[/TD]
[TD="class: xl63"]Paris[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]9000[/TD]
[TD="class: xl63, align: right"]2016[/TD]
[TD="class: xl63"]Madrid[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]10000[/TD]
[TD="class: xl63, align: right"]2015[/TD]
[TD="class: xl63"]Madrid[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]11000[/TD]
[TD="class: xl63, align: right"]2016[/TD]
[TD="class: xl63"]London[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]12000[/TD]
[TD="class: xl63, align: right"]2014[/TD]
[TD="class: xl63"]Paris[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]13000[/TD]
[TD="class: xl63, align: right"]2015[/TD]
[TD="class: xl63"]Paris[/TD]
[/TR]
</tbody>[/TABLE]
Many Thanks
Djam