Hi guys, I´m new to the forum.
I´m having trouble with a formula that would allow me to search for the frequency of a column conditioned to anothe column, I can´t use pivot tables since the data comes from a Query from SQL that needs to be automated on excel.
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Count Merchant[/TD]
[TD][/TD]
[TD]Merchant ID[/TD]
[TD]Team ID[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]SAM[/TD]
[TD]=sum(if(frequency(if(....[/TD]
[TD][/TD]
[TD][TABLE="width: 81"]
<tbody>[TR]
[TD="class: xl65, align: right"]24168596915[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 61"]
<tbody>[TR]
[TD="class: xl65"]SAM[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]DS[/TD]
[TD][/TD]
[TD][/TD]
[TD][TABLE="width: 81"]
<tbody>[TR]
[TD="class: xl65, align: right"]21173871305[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 61"]
<tbody>[TR]
[TD="class: xl65"][TABLE="width: 61"]
<tbody>[TR]
[TD="class: xl65"]FBA[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]FBA[/TD]
[TD][/TD]
[TD][/TD]
[TD][TABLE="width: 81"]
<tbody>[TR]
[TD="class: xl65, align: right"]24168596915[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]SAM[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][TABLE="width: 81"]
<tbody>[TR]
[TD="class: xl65, align: right"]15085426115
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 61"]
<tbody>[TR]
[TD="class: xl65"]FBA[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][TABLE="width: 81"]
<tbody>[TR]
[TD="class: xl65, align: right"]38275210615[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 61"]
<tbody>[TR]
[TD="class: xl65"]DS[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Any help is appreciated!
I´m having trouble with a formula that would allow me to search for the frequency of a column conditioned to anothe column, I can´t use pivot tables since the data comes from a Query from SQL that needs to be automated on excel.
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Count Merchant[/TD]
[TD][/TD]
[TD]Merchant ID[/TD]
[TD]Team ID[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]SAM[/TD]
[TD]=sum(if(frequency(if(....[/TD]
[TD][/TD]
[TD][TABLE="width: 81"]
<tbody>[TR]
[TD="class: xl65, align: right"]24168596915[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 61"]
<tbody>[TR]
[TD="class: xl65"]SAM[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]DS[/TD]
[TD][/TD]
[TD][/TD]
[TD][TABLE="width: 81"]
<tbody>[TR]
[TD="class: xl65, align: right"]21173871305[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 61"]
<tbody>[TR]
[TD="class: xl65"][TABLE="width: 61"]
<tbody>[TR]
[TD="class: xl65"]FBA[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]FBA[/TD]
[TD][/TD]
[TD][/TD]
[TD][TABLE="width: 81"]
<tbody>[TR]
[TD="class: xl65, align: right"]24168596915[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]SAM[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][TABLE="width: 81"]
<tbody>[TR]
[TD="class: xl65, align: right"]15085426115
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 61"]
<tbody>[TR]
[TD="class: xl65"]FBA[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][TABLE="width: 81"]
<tbody>[TR]
[TD="class: xl65, align: right"]38275210615[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 61"]
<tbody>[TR]
[TD="class: xl65"]DS[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Any help is appreciated!