Forum Discussion

Ashwaj's avatar
Ashwaj
Copper Contributor
Oct 08, 2021
Solved

create a formula for specific sequence

Hello    I have a list of name 1.V1.S, name 1.V2.S,..........name 1.V4.S, name 2.V1.S.......etc   how I could make a formula for the long list? Note the name is the same.
  • PedroWave's avatar
    Oct 08, 2021

    Ashwaj, try this formula into cell A2 and drag it down:

    ="name "&INT((ROW()-ROW($A$1)-1)/4)+1&".V"&MOD(ROW()-ROW($A$1)-1,4)+1&".S"

    Cell $A$1 is the header cell.

    Change the header cell if you move the list to another range.

     

    Every 4 times the first number changes, the second number being a sequence from 1 to 4, following your specific sequence:

     

    Regards,

    Pedro Wave