I have a set of data, which the value might be repeated and I am attempting to count and mark the counting in sequence.
I am currently trying to create a list using arrayformula (which is a must for my application for some reason), which the list will return the number of times the value is repeated, at the same time indicates the # of the occurrence of that row.
Some thing like the below is what i wish to acc
| DATA | Desired | |
|---|---|---|
| a | 1 | 1st a |
| b | 1 | 1st b |
| c | 1 | 1st c |
| a | 2 | 2nd a |
| b | 2 | 2nd b |
| a | 3 | 3rd a |
| b | 3 | 3rd b |
| b | 4 | 4th b |
It is a must for me to use a arrayformula or something similar to achieve.Would appreciate any input. Thanks.