I have a table with Column A (char). I want to add a new column in number value which represents the grouping of column A. How to do this automatically? Column A has too many characters for me to manually group them.
| column A | new column |
| kkk | 1 |
| dd | 2 |
| kkk | 1 |
| cc | 3 |