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>
</tbody>
Currency | Vendor |
USD | A |
USD | B |
USD | C |
USD | D |
BRL | B |
MXN | C |
<colgroup><col style="width:48pt" span="2" width="64"> </colgroup><tbody>
</tbody>