Forum: CAT Tools Technical Help
Topic: Software that lets you join TUs at a given character?
Poster: Hans Lenting
Post title: Another approach in Excel
With these two formulas, you can merge cells that contain a pilcrow:
Source segment:
=IF(ISNUMBER(SEARCH("¶";A1));(LEFT(A1;LEN(A1)-1))&""&A2;"")
Target segment:
=IF(ISNUMBER(SEARCH("¶";A1));B1&""&B2;"")
Note that in order to make this work, you'll have to replace TAB characters inside segments with placeholders (e.g. ¬). (You can put the TAB characters back afterwards.)
Propagating the formulas downwards in Excel:
If the formula is in the first cell of a column:
[Edited at 2021-02-16 13:05 GMT]
Topic: Software that lets you join TUs at a given character?
Poster: Hans Lenting
Post title: Another approach in Excel
With these two formulas, you can merge cells that contain a pilcrow:
Source segment:
=IF(ISNUMBER(SEARCH("¶";A1));(LEFT(A1;LEN(A1)-1))&""&A2;"")
Target segment:
=IF(ISNUMBER(SEARCH("¶";A1));B1&""&B2;"")
Note that in order to make this work, you'll have to replace TAB characters inside segments with placeholders (e.g. ¬). (You can put the TAB characters back afterwards.)
Propagating the formulas downwards in Excel:
If the formula is in the first cell of a column:
- Select the entire column by clicking the column header or selecting any cell in the column and pressing CTRL+SPACE.
- Fill down by pressing CTRL+D.
[Edited at 2021-02-16 13:05 GMT]