littlepete
Active Member
- Joined
- Mar 26, 2015
- Messages
- 489
- Office Version
- 365
- Platform
- Windows
hello 
in my column A i have a string that shows the division of my data... it looks like:
1.
...
4.15.3.5
...
135.25.2.5.1
if i filter that last line, i also would like to see 135 ; 135.25 ; 135.25.2 and 135.2.5
i think the best way is with a help column to put a mark (x) and i do succeed to filter the first 135
but i'm stuck in the other levels ...
this is part of what i have :
level1 = Left(currdivision, WorksheetFunction.Find(".", currdivision) - 1)
leftover = InStr(1, nextlevel, ".")
nextlevel = Right(currdivision, Len(currdivision) - leftover)
(all values are strings)
what's your advice
?
thanks !
pete
in my column A i have a string that shows the division of my data... it looks like:
1.
...
4.15.3.5
...
135.25.2.5.1
if i filter that last line, i also would like to see 135 ; 135.25 ; 135.25.2 and 135.2.5
i think the best way is with a help column to put a mark (x) and i do succeed to filter the first 135
but i'm stuck in the other levels ...
this is part of what i have :
level1 = Left(currdivision, WorksheetFunction.Find(".", currdivision) - 1)
leftover = InStr(1, nextlevel, ".")
nextlevel = Right(currdivision, Len(currdivision) - leftover)
(all values are strings)
what's your advice
thanks !
pete