Miguelluis
New Member
- Joined
- Jan 29, 2013
- Messages
- 45
Hi,
I've got a sheet with data as follows
[TABLE="width: 500"]
<tbody>[TR]
[TD]Client[/TD]
[TD]Name 1[/TD]
[TD]Name 2[/TD]
[TD]Name 3[/TD]
[/TR]
[TR]
[TD]1234[/TD]
[TD]Passport[/TD]
[TD]DL[/TD]
[TD]Utility[/TD]
[/TR]
[TR]
[TD]456[/TD]
[TD]Passport[/TD]
[TD]DL
[/TD]
[TD]Utility[/TD]
[/TR]
[TR]
[TD]778[/TD]
[TD]Passport[/TD]
[TD]DL[/TD]
[TD]Utility[/TD]
[/TR]
</tbody>[/TABLE]
I wanted to concatenate only if the cells or font is formatted with the colour red and list the items in separate lines, like below:
[TABLE="width: 500"]
<tbody>[TR]
[TD]1234[/TD]
[TD]-Passport
-DL
-Utility[/TD]
[/TR]
[TR]
[TD]456[/TD]
[TD]-Passport[/TD]
[/TR]
[TR]
[TD]778[/TD]
[TD]-DL
-Utility[/TD]
[/TR]
</tbody>[/TABLE]
Assuming that the above correspond to the cells that were highlighted.
Is there a way of doing this?
Thanks
Miguel
I've got a sheet with data as follows
[TABLE="width: 500"]
<tbody>[TR]
[TD]Client[/TD]
[TD]Name 1[/TD]
[TD]Name 2[/TD]
[TD]Name 3[/TD]
[/TR]
[TR]
[TD]1234[/TD]
[TD]Passport[/TD]
[TD]DL[/TD]
[TD]Utility[/TD]
[/TR]
[TR]
[TD]456[/TD]
[TD]Passport[/TD]
[TD]DL
[/TD]
[TD]Utility[/TD]
[/TR]
[TR]
[TD]778[/TD]
[TD]Passport[/TD]
[TD]DL[/TD]
[TD]Utility[/TD]
[/TR]
</tbody>[/TABLE]
I wanted to concatenate only if the cells or font is formatted with the colour red and list the items in separate lines, like below:
[TABLE="width: 500"]
<tbody>[TR]
[TD]1234[/TD]
[TD]-Passport
-DL
-Utility[/TD]
[/TR]
[TR]
[TD]456[/TD]
[TD]-Passport[/TD]
[/TR]
[TR]
[TD]778[/TD]
[TD]-DL
-Utility[/TD]
[/TR]
</tbody>[/TABLE]
Assuming that the above correspond to the cells that were highlighted.
Is there a way of doing this?
Thanks
Miguel