I have a table with one of the field having comma separated values. I want to count for each value in that field how many items are there. I´m sure there must be a simple way to do this.
For example, consider the table below. It has name of sales person & regions they cover. I would like to have a formula to list down how many sales persons are there for each region. Note that the actual table has thousands of values. I have taken just 4 rows for illustration.
Table -
Output required -
For example, consider the table below. It has name of sales person & regions they cover. I would like to have a formula to list down how many sales persons are there for each region. Note that the actual table has thousands of values. I have taken just 4 rows for illustration.
Table -
Book1 | ||||
---|---|---|---|---|
C | D | |||
3 | Name | Region | ||
4 | James | Paris, London, Madrid | ||
5 | Roger | London, Zurich | ||
6 | Thomas | Zurich, Berlin, Paris, Warsaw | ||
7 | Anthony | Paris, Madrid | ||
Sheet1 |
Output required -
Book1 | ||||
---|---|---|---|---|
E | F | |||
8 | Region | No. of sales persons | ||
9 | Paris | 3 | ||
10 | London | 2 | ||
11 | Madrid | 2 | ||
12 | Zurich | 2 | ||
13 | Berlin | 1 | ||
14 | Warsaw | 1 | ||
Sheet1 |