Hi All
I am trying to format text in a string. I receive this worksheet from third party and I have to print visiting cards using this information. Data received contains lot of formatting errors like upper and lower case, double space between words, which I cleared the most of it with the help of formulas but I am stuck at one point with the field of designation.
In this field I need to make it in proper case but if the string contains a dash - (sometimes en dash - CHAR(150)) and if the length of the first word after dash is <=3 then that whole word should be in upper case and after that word rest of the words should be in proper case.
Also the en dash needs to be converted to normal dash. Can it be done using formulas?
I am attaching a sample sheet
Please guide
Regards
Mandar
I am trying to format text in a string. I receive this worksheet from third party and I have to print visiting cards using this information. Data received contains lot of formatting errors like upper and lower case, double space between words, which I cleared the most of it with the help of formulas but I am stuck at one point with the field of designation.
In this field I need to make it in proper case but if the string contains a dash - (sometimes en dash - CHAR(150)) and if the length of the first word after dash is <=3 then that whole word should be in upper case and after that word rest of the words should be in proper case.
Also the en dash needs to be converted to normal dash. Can it be done using formulas?
I am attaching a sample sheet
Please guide
Regards
Mandar