Figure 142: Text concatenation
In this example, specific pieces of the text were found in three different cells. To join
these segments together, the formula also adds required spaces and punctuation
enclosed within quotation marks, resulting in a formula of =B2 & " " & C2 & ", " &
D2. The result is the concatenation into a date formatted in a particular sequence.
Calc has a CONCATENATE function which performs the same operation.
Taking this example further, if the result cell is defined as a name, then text
concatenation is performed using this defined name. This process is demonstrated in
Figures 143, 144, and 145 where the cell with the date is named “WizardDay” and
subsequently used in a formula in another cell.
Komentáře k této Příručce