Create a numbering sequence for key repeated values in a List



Hi guys,

I have a list with some key values that repeats and I want to substitute the key value by a numbering sequence of each key:

I was able to get all information but I cannot figure out how to make the List.Map values have the information that I need (1,2,1,2,3,4,5,6,7,8,9,10,11,3,4,1,2…etc)…

Any help here?


A screenhot clearly indicating the initial and expected lists could be useful. You can check first what’s already available on this topic and start to experiment from that, see for example:


@tiagoricotta See if this helps


@Vikram_Subbaiah thank you man, it was exactly that what I was looking for and was failing to accomplish!

@Yna_Db thanks for all the advise, I read more about this and the work of the forum!