In column A, I have strings with Leading spaces !
I want to assign a code number (indent number) to B , driven by Leading spaces in A :
I want to compare LEN(of leading spaces in A) and assign indent level function of LEN
If Len(leading)=0, Then 0
If next Len(Leading)= say 3, Then 1
If next Len(Leading)= say 4, Then 2
If next Len(Leading)= say 7, Then 3
up to 10 leading spaces, possibilities
Bookmarks