Forum Discussion

fabiogiallo's avatar
fabiogiallo
Copper Contributor
Dec 11, 2020

Auto increment samples number with sub-samples

Good morning,

I am quite new sharepoint user and I would need that my list generate automatically a incremental A-number to identify samples but with the option of sub-samples.

So if the "letter" column will be empty the list will generate consecutive number, but if there is a letter, the list will repeat the new number with a letter.

For example:

Sample        Letter        Output

A1                    

A2

A3                    a               A3a

A3                    b               A3b

A3                    c               A3c

A4

A5                    a               A5a

A5                    b               A5b

A6                    a               A6a

A6                    b               A6b

etc...

Thank you in advance.

  • Anthony_Tudor's avatar
    Anthony_Tudor
    Brass Contributor
    Hi fabiogiallo it's not exactly what your after, but you could do something similar to this which I wrote about creating an auto ID column and extend it to output the values you are after: https://wp.me/p9ToOl-jP

    Let me know if it works for you!
    • fabiogiallo's avatar
      fabiogiallo
      Copper Contributor

      Anthony_Tudor  thanks for your answer, but it just does part of what i need (and i can do this already using calculated columns)

Resources