Hi All,
I am trying to do a count in the below data. Basically I want to calculate to how many companies among the 5 companies in the table below is Microsoft supplying to. So based on the table below the answer is 3. Like this I have around 78K suppliers for whom I am trying to do this. So in the end I want to have new columns called "# suppliers" which counts the number of companies each supplier is supplying to.
I have tried to use the formula tool to do a count but it is not working. I have also tried to do a transpose to turn the companies into rows and then do a count by summarize tool but that also is not working.
Would really appreciate any assistance on this.
| Supplier Name | Company A | Company B | Company C | Company D | Company E |
| Microsoft | 0 | 0 | 30 | 2 | 1 |
| Apple | 2 | 13 | 0 | 0 | 3 |
| Amazon | 1 | 2 | 22 | 0 | 1 |