manoj18071965
Board Regular
- Joined
- Sep 16, 2011
- Messages
- 65
I have a long list in column A in excel. I am seeking for formula to clear below formatting errors:
Below is the example of output required:
[TABLE="width: 812"]
<tbody>[TR]
[TD]
Actual
[/TD]
[TD]Output Required
[/TD]
[/TR]
[TR]
[TD]Assoc Prof.
[/TD]
[TD]Assoc Prof.
[/TD]
[/TR]
[TR]
[TD]Assoc Prof.
[/TD]
[TD]Assoc Prof.
[/TD]
[/TR]
[TR]
[TD] Assoc Prof.,
[/TD]
[TD]Assoc Prof.
[/TD]
[/TR]
[TR]
[TD] Assoc Prof.,
[/TD]
[TD]Assoc Prof.
[/TD]
[/TR]
[TR]
[TD] Assoc Prof.,
[/TD]
[TD]Assoc Prof.
[/TD]
[/TR]
[TR]
[TD]Assoc Prof.,
[/TD]
[TD]Assoc Prof.
[/TD]
[/TR]
[TR]
[TD]Assoc Prof.,
[/TD]
[TD]Assoc Prof.
[/TD]
[/TR]
[TR]
[TD]Assoc Prof.,
[/TD]
[TD]Assoc Prof.
[/TD]
[/TR]
[TR]
[TD]Assoc, Dean & Prof.
[/TD]
[TD]Assoc, Dean & Prof.
[/TD]
[/TR]
[TR]
[TD]Assoc, Dean & Prof.
[/TD]
[TD]Assoc, Dean & Prof.
[/TD]
[/TR]
[TR]
[TD]Assoc, Dean, Prof., and Dir.,
[/TD]
[TD]Assoc, Dean, Prof., and Dir.
[/TD]
[/TR]
[TR]
[TD]Assoc, Dir., Jt. Degree Applied Legal Theory & Analysis Prog.,
[/TD]
[TD]Assoc, Dir., Jt. Degree Applied Legal Theory & Analysis Prog.
[/TD]
[/TR]
[TR]
[TD]Assoc, Prof North- western
[/TD]
[TD]Assoc, Prof North- western
[/TD]
[/TR]
[TR]
[TD]Assoc, Prof. & Dir.,
[/TD]
[TD]Assoc, Prof. & Dir.
[/TD]
[/TR]
[TR]
[TD]Assoc, Prof. & Dir.,
[/TD]
[TD]Assoc, Prof. & Dir.
[/TD]
[/TR]
[TR]
[TD]Assoc, Prof.
[/TD]
[TD]Assoc, Prof.
[/TD]
[/TR]
[TR]
[TD]Assoc, Prof.
[/TD]
[TD]Assoc, Prof.
[/TD]
[/TR]
[TR]
[TD]Assoc, Prof.
[/TD]
[TD]Assoc, Prof.
[/TD]
[/TR]
[TR]
[TD]Assoc, Prof.
[/TD]
[TD]Assoc, Prof.
[/TD]
[/TR]
</tbody>[/TABLE]
- Remove Extra space or spaces appearing before text starts in a cell
- Remove Extra space or spaces appearing after text starts in a cell
- Remove comma if appearing at the end of text in a cell
Below is the example of output required:
[TABLE="width: 812"]
<tbody>[TR]
[TD]
Actual
[/TD]
[TD]Output Required
[/TD]
[/TR]
[TR]
[TD]Assoc Prof.
[/TD]
[TD]Assoc Prof.
[/TD]
[/TR]
[TR]
[TD]Assoc Prof.
[/TD]
[TD]Assoc Prof.
[/TD]
[/TR]
[TR]
[TD] Assoc Prof.,
[/TD]
[TD]Assoc Prof.
[/TD]
[/TR]
[TR]
[TD] Assoc Prof.,
[/TD]
[TD]Assoc Prof.
[/TD]
[/TR]
[TR]
[TD] Assoc Prof.,
[/TD]
[TD]Assoc Prof.
[/TD]
[/TR]
[TR]
[TD]Assoc Prof.,
[/TD]
[TD]Assoc Prof.
[/TD]
[/TR]
[TR]
[TD]Assoc Prof.,
[/TD]
[TD]Assoc Prof.
[/TD]
[/TR]
[TR]
[TD]Assoc Prof.,
[/TD]
[TD]Assoc Prof.
[/TD]
[/TR]
[TR]
[TD]Assoc, Dean & Prof.
[/TD]
[TD]Assoc, Dean & Prof.
[/TD]
[/TR]
[TR]
[TD]Assoc, Dean & Prof.
[/TD]
[TD]Assoc, Dean & Prof.
[/TD]
[/TR]
[TR]
[TD]Assoc, Dean, Prof., and Dir.,
[/TD]
[TD]Assoc, Dean, Prof., and Dir.
[/TD]
[/TR]
[TR]
[TD]Assoc, Dir., Jt. Degree Applied Legal Theory & Analysis Prog.,
[/TD]
[TD]Assoc, Dir., Jt. Degree Applied Legal Theory & Analysis Prog.
[/TD]
[/TR]
[TR]
[TD]Assoc, Prof North- western
[/TD]
[TD]Assoc, Prof North- western
[/TD]
[/TR]
[TR]
[TD]Assoc, Prof. & Dir.,
[/TD]
[TD]Assoc, Prof. & Dir.
[/TD]
[/TR]
[TR]
[TD]Assoc, Prof. & Dir.,
[/TD]
[TD]Assoc, Prof. & Dir.
[/TD]
[/TR]
[TR]
[TD]Assoc, Prof.
[/TD]
[TD]Assoc, Prof.
[/TD]
[/TR]
[TR]
[TD]Assoc, Prof.
[/TD]
[TD]Assoc, Prof.
[/TD]
[/TR]
[TR]
[TD]Assoc, Prof.
[/TD]
[TD]Assoc, Prof.
[/TD]
[/TR]
[TR]
[TD]Assoc, Prof.
[/TD]
[TD]Assoc, Prof.
[/TD]
[/TR]
</tbody>[/TABLE]