I would like to change the existing numbering to multi-level numbering using excel formulas, example below.
The solutions found are too difficult for me to process. Thank you in advance for your help.
I would like to change the existing numbering to multi-level numbering using excel formulas, example below.
The solutions found are too difficult for me to process. Thank you in advance for your help.
So if i have understood correctly and based on my comments, one could use the following formulas based on their excel versions:
• Formula used in cell B1
=A1&"."&COUNTIF(A$1:A1,A1)
• Formula used in cell C1
=BYROW(A1:A15,LAMBDA(x,LET(y,A1:A15,x&"."&COUNTIF(INDEX(y,1):x,x))))
• Formula used in cell D1
=MAP(A1:A15,LAMBDA(m,LET(n,A1:A15,m&"."&COUNTIF(INDEX(n,1):m,m))))
Edit : 3/25/2023
As suggested by VBasic2008 Sir, one can also use the following alternatives for more efficient output.
• Formula used in cell E1
=BYROW(A1:A15,LAMBDA(x,LET(y,A1,x&"."&COUNTIF(y:x,x))))
Or,
• Formula used in cell F1
=LET(Data,A1:A15,Data&"."&SCAN(0,Data=DROP(VSTACK("",Data),-1),LAMBDA(a,b,IF(b,a+1,1))))