Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

create index from existing data with duplicates

Hi folks, Can anyone help me with this one? I have a column of data which includes duplicates which I want to add a sequence number to so they become unique. e.g. F01 F01 F02 F03 would become F01-1 F01-2 F02-1 F03-1 I can think of a long-winded way to do it but I suspect there is an easy way.

3 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Is there a way to do this in M Code in Excel?

      • Anonymous's avatar
        Anonymous
        Not applicable

        I did manage to do this by splitting into columns using a delimiter and then unpivot command.