Difference between revisions of "Manuals/calci/CONCATENATE"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> '''CONCATENATE'''(Text1, Text2..........) where, '''Text1, Text2....''' - are the text join to single text. ...")
 
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">
+
<div style="font-size:30px">'''CONCATENATE () '''</div><br/>
 +
*Parameters are text strings to join
 +
**CONCATENATE(), joins several text items into one text item.
  
'''CONCATENATE'''(Text1, Text2..........)
+
== Description ==
 +
CONCATENATE()
 +
*Consider the following example in ZOS,
 +
*CONCATENATE("JOHN"," ","SMITH") returns ''JOHN SMITH''
 +
*This function joins number of strings into one string.
 +
*Arguments can be text, numbers, array or cell references, or combination of all items.
 +
*An ampersand(&) can also be used instead of CONCATENATE function.
  
where,
+
e.g. In Calci, if cell A1=JOHN and cell A2=SMITH, then
  
'''Text1, Text2....''' - are the text join to single text.
+
=(A1&" "&A2) returns ''JOHN SMITH''
 +
*Text string should be enclosed in quotes.
 +
*If any punctuation marks are to be added between two strings, they should also be entered as argument.
 +
*If arguments are omitted, Calci displays a #NULL error message.
  
</div>
+
== Examples ==
----
+
<div id="4SpaceContent" class="zcontent" align="left">
<div id="1SpaceContent" class="zcontent" align="left">It joins number of text strings into one text string.</div>
 
----
 
<div id="7SpaceContent" class="zcontent" align="left">Use plus(+) instead of CONCATENATE function to join text.</div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
  
CONCATENATE
+
{| id="TABLE2" class="SpreadSheet blue"
 
 
</div></div>
 
----
 
<div id="8SpaceContent" class="zcontent" align="left">
 
 
 
Lets see an example in (Column1, Row3)
 
 
 
<nowiki>=CONCATENATE("Smith","SMITH)</nowiki>
 
 
 
It returns SmithSMITH.
 
 
 
Consider an another example in (Column2,Row3)
 
 
 
<nowiki>=CONCATENATE(1,2)</nowiki>
 
 
 
CONCATENATE returns 12.
 
 
 
</div>
 
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Syntax </div><div class="ZEditBox"><center></center></div></div>
 
----
 
<div id="4SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Remarks </div></div>
 
----
 
<div id="3SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Examples </div></div>
 
----
 
<div id="11SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Description </div></div>
 
----
 
<div id="2SpaceContent" class="zcontent" align="left">
 
 
 
{| id="TABLE3" class="SpreadSheet blue"
 
 
|- class="even"
 
|- class="even"
| class=" " |
+
| class=" " |ColumnA
| Column1
+
| class=" " |ColumnB
| class="                                 " | Column2
+
| class=" " |ColumnC
| class=" " | Column3
+
| class=" " |ColumnD
| Column4
 
 
|- class="odd"
 
|- class="odd"
| class=" " | Row1
+
| class="sshl_f " | Happy
| class="sshl_f" | SmithSMITH
+
| class=" " | Holidays!
| class="                                   sshl_f  " |
+
| class=" " |  
| class=" " |
+
| class=" " |  
| class=" " |
 
 
|- class="even"
 
|- class="even"
| class=" " | Row2
+
| class="sshl_f" | Apple
| class="   SelectTD ChangeBGColor SelectTD" |
+
| class=" " |Mango
<div id="2Space_Handle" class="zhandles" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="2Space_Copy" class="zhandles" title="Click and Drag over to AutoFill other cells."></div><div id="2Space_Drag" class="zhandles" title="Click and Drag to Move/Copy Area.">[[Image:copy-cube.gif]]  </div>
+
| class=" " |Orange
|
 
 
| class=" " |
 
| class=" " |
 +
|- class="odd"
 +
| class="sshl_f" |1234
 +
| class=" " |ABCD
 
| class=" " |
 
| class=" " |
|- class="odd"
 
| Row3
 
| class="sshl_f    " |
 
| class="sshl_f" | 12
 
| class="    " |
 
 
| class=" " |
 
| class=" " |
 
|- class="even"
 
|- class="even"
| Row4
+
| class="ssh1_f" |This is a pen.
| class="       " |
+
| class=" " |It is Black.
| class="       " |
 
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
|- class="odd"
 
|- class="odd"
| class=" " | Row5
+
| class="ssh1_f" |
| class=" " |
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
|- class="even"
 
| Row6
 
| class=" " |
 
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
|}
 
|}
 +
 +
=CONCATENATE(A1," ",B1) : Returns '''Happy Holidays!'''
 +
=CONCATENATE(A2,",",B2,",",C2) : Returns '''Apple,Mango,Orange'''
 +
=CONCATENATE(A3&B3&"5678") : Returns '''1234ABCD5678'''
 +
=CONCATENATE(A4," ",B4) : Returns '''This is a pen. It is Black.'''
 +
 +
==Related Videos==
 +
 +
{{#ev:youtube|ZWiPQINKvW8|280|center|CONCATENATE}}
 +
 +
== See Also ==
 +
*[[Manuals/calci/REPLACE | REPLACE]]
 +
*[[Manuals/calci/SUBSTITUTE | SUBSTITUTE]]
 +
 +
== Reference ==
 +
*[http://en.wikipedia.org/wiki/Concatenation Concatenation]
 +
 +
 +
 +
*[[Z_API_Functions | List of Main Z Functions]]
  
<div align="left">[[Image:calci1.gif]]</div></div>
+
*[[ Z3 |  Z3 home ]]
----
 

Latest revision as of 13:32, 15 August 2018

CONCATENATE ()


  • Parameters are text strings to join
    • CONCATENATE(), joins several text items into one text item.

Description

CONCATENATE()

  • Consider the following example in ZOS,
  • CONCATENATE("JOHN"," ","SMITH") returns JOHN SMITH
  • This function joins number of strings into one string.
  • Arguments can be text, numbers, array or cell references, or combination of all items.
  • An ampersand(&) can also be used instead of CONCATENATE function.

e.g. In Calci, if cell A1=JOHN and cell A2=SMITH, then

=(A1&" "&A2) returns JOHN SMITH
  • Text string should be enclosed in quotes.
  • If any punctuation marks are to be added between two strings, they should also be entered as argument.
  • If arguments are omitted, Calci displays a #NULL error message.

Examples

ColumnA ColumnB ColumnC ColumnD
Happy Holidays!
Apple Mango Orange
1234 ABCD
This is a pen. It is Black.
=CONCATENATE(A1," ",B1) : Returns Happy Holidays!
=CONCATENATE(A2,",",B2,",",C2) : Returns Apple,Mango,Orange
=CONCATENATE(A3&B3&"5678") : Returns 1234ABCD5678
=CONCATENATE(A4," ",B4) : Returns This is a pen. It is Black.

Related Videos

CONCATENATE

See Also

Reference