I am trying to use the countifs function to count the number of times a vendor name appears in a range but also based on specific currencies. The issue is when there are multiple vendor names I need to count with the same currency. I can sum multiple countifs functions to get the answer I need but wondering if there is an easier and cleaner way to do this. I have included a brief sample below. Here I would want to count the number of times a vendor name is populated in column B if the currency is USD and The Vendor is A, B, or C.
<colgroup><col style="width:48pt" span="2" width="64"> </colgroup><tbody>
[TD="class: xl62, width: 64"]Currency[/TD]
[TD="class: xl62, width: 64"]Vendor[/TD]
[TD="class: xl62"]USD[/TD]
[TD="class: xl62"]A
[/TD]
[TD="class: xl62"]USD[/TD]
[TD="class: xl62"]B[/TD]
[TD="class: xl62"]USD[/TD]
[TD="class: xl62"]C[/TD]
[TD="class: xl62"]USD
[/TD]
[TD="class: xl62"]D
[/TD]
[TD="class: xl62"]BRL[/TD]
[TD="class: xl62"]B[/TD]
[TD="class: xl62"]MXN[/TD]
[TD="class: xl62"]C[/TD]
</tbody>
<colgroup><col style="width:48pt" span="2" width="64"> </colgroup><tbody>
[TD="class: xl62, width: 64"]Currency[/TD]
[TD="class: xl62, width: 64"]Vendor[/TD]
[TD="class: xl62"]USD[/TD]
[TD="class: xl62"]A
[/TD]
[TD="class: xl62"]USD[/TD]
[TD="class: xl62"]B[/TD]
[TD="class: xl62"]USD[/TD]
[TD="class: xl62"]C[/TD]
[TD="class: xl62"]USD
[/TD]
[TD="class: xl62"]D
[/TD]
[TD="class: xl62"]BRL[/TD]
[TD="class: xl62"]B[/TD]
[TD="class: xl62"]MXN[/TD]
[TD="class: xl62"]C[/TD]
</tbody>