madhuchelliah
Board Regular
- Joined
- Nov 22, 2017
- Messages
- 226
- Office Version
- 2019
- Platform
- Windows
Hello guys, In I column some of the cells starts with "." It might be start with two to six dots also i.e ".." to "......". After that word will start. Now i want to count number of dots before the word starts and add the count with value 1 the result should be reflect in corresponding cell in E column. see the example table below. Some times there will be space between the dots(". . . . ") my values starts from cell I2
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]E
[/TD]
[TD]I
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Adam
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]..Smith
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]. . David
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]...John
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]. . . .Rob
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Rick
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Matt
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD].Justin
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]. Miller
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]E
[/TD]
[TD]I
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Adam
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]..Smith
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]. . David
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]...John
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]. . . .Rob
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Rick
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Matt
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD].Justin
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]. Miller
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]