Hi Ksharp.
Thank you for your respond.
I will try to explain better.
name no no2
A 20 50
A 30 80
A 60
B 20 30
B 40 50
C 20 50
C 60 80
C 70
name no no2
A 20,30 50
A 60 80
B 20 30
B 40 50
C 20 50
C 60,70 80
Every ‘name’ (A,B,C) go thought the process :‘no’ and getting there number (20,30,40,50....) and then go to the next level ‘no2’ where also getting a number (for 10,20,30 larger then at ‘no’). This process can be repeated several times. My problem is when one ‘name’ (in this case A) goes to ‘no’ twice (or more) in row (20,30) and after that to ‘no2’(50).What I want is to merge cell column ‘no’ in case like that. Only way how to determinate this is to count 20, 30 in ‘no’ and stop when find first next in ‘no2’ (50)means that A was twice in a row at ‘no’.
In B process is correct 40 – 50 60 – 70
In C fist is ok but after first ‘no2’ C goes twice thought the ‘no’ and then again to ‘no2’
Thank you in advance.
... View more