I have a text column with repeated values, for example:
| A |
---|---------|
1 | emails |
2 | foo |
3 | foo |
4 | bar |
5 | bar |
6 | stuff |
7 | stuff |
8 | stuff |
What I would like to do is to have another column with numbers, so that each number matches the value in the first column, for example:
| A | B |
---|---------|---------|
1 | emails | number |
2 | foo | 1 |
3 | foo | 1 |
4 | bar | 2 |
5 | bar | 2 |
6 | stuff | 3 |
7 | stuff | 3 |
8 | stuff | 3 |