Difference between revisions of "Manuals/calci/COLUMNS"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left">  <font color="#484848"><font face="Arial, sans-serif"><font size="2">'''COLUMNS'''</font></font></font><font color="...")
 
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left"> 
+
<div style="font-size:30px">'''COLUMNS (Array)'''</div><br/>
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">'''COLUMNS'''</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">(</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">'''arr'''</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">)</font></font></font>
+
*<math>Array</math> is an array or a reference to a range of cells.
 +
**COLUMNS(), returns the number of columns in a reference.
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">'''where arr '''</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">is an array or a reference to a range of cells for which t the number of columns to be find.</font></font></font>
+
==Description==
 +
*This function gives the number of columns in a given array or in the reference of cell range.
 +
*i.e COLUMNS(A3:H5)is 8 because number of cells from cell A3 to H5 is 8.
  
</div>
+
==Examples==
----
 
<div id="1SpaceContent" class="zcontent" align="left"> <font color="#484848"><font face="Arial, sans-serif"><font size="2">I gives the number of columns in an </font></font></font>[javascript:AppendPopup(this,'xldefArray_1') <font color="#000000"><font face="Arial, sans-serif"><font size="2">array</font></font></font>]<font color="#484848"><font face="Arial, sans-serif"><font size="2"> or reference.</font></font></font></div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
  
COLUMNS
+
*=COLUMNS„(D5:G8) is 4, because number of columns in between D5 to G8 is 4
 +
*=COLUMNS(R5:G4) is 12, because it will considered as G4 to R5. So in between columns is 12.
 +
*=COLUMNS({2,4,6,8,0;1,3,5,7,9}) is 5, because it is  giving the number of constants in the given array.
  
</div></div>
+
==Related Videos==
----
 
<div id="8SpaceContent" class="zcontent" align="left"> 
 
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">Let's see an example</font></font></font>
+
{{#ev:youtube|_aNyuFjRsuk|280|center|COLUMNS}}
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2"><nowiki>= COLUMN(B2:E5) is 4.</nowiki></font></font></font>
+
==See Also==
  
<br /><br />
+
*[[Manuals/calci/COLUMN | COLUMN]]
 +
*[[Manuals/calci/ROW | ROW]]
  
</div>
+
==References==
----
+
*[http://www.techonthenet.com/excel/formulas/columns.php Columns]
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Syntax </div><div class="ZEditBox"><center></center></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="    " |
 
<div id="2Space_Copy" title="Click and Drag over to AutoFill other cells."></div>
 
| Column1
 
| Column2
 
| Column3
 
| Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class="sshl_f      " | 8
 
| class="                                                                                " |
 
| class=" " |
 
| class="                              sshl_f  " |
 
|- class="even"
 
| class="  " | Row2
 
| class="sshl_f" | 4
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
|- class="odd"
 
| Row3
 
| class="                                                                                                                                        " |
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
|- class="even"
 
| Row4
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
| class=" sshl_f" | 20
 
|- class="odd"
 
| class=" " | Row5
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
| class="                                                      " |
 
|- class="even"
 
| Row6
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
| class="    SelectTD  SelectTD" |
 
<div id="2Space_Handle" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="2Space_Copy" title="Click and Drag over to AutoFill other cells."></div>
 
|}
 
  
<div align="left">[[Image:calci1.gif]]</div></div>
+
 
----
+
*[[Z_API_Functions | List of Main Z Functions]]
 +
 
 +
*[[ Z3 |  Z3 home ]]

Latest revision as of 16:12, 6 August 2018

COLUMNS (Array)


  • is an array or a reference to a range of cells.
    • COLUMNS(), returns the number of columns in a reference.

Description

  • This function gives the number of columns in a given array or in the reference of cell range.
  • i.e COLUMNS(A3:H5)is 8 because number of cells from cell A3 to H5 is 8.

Examples

  • =COLUMNS„(D5:G8) is 4, because number of columns in between D5 to G8 is 4
  • =COLUMNS(R5:G4) is 12, because it will considered as G4 to R5. So in between columns is 12.
  • =COLUMNS({2,4,6,8,0;1,3,5,7,9}) is 5, because it is giving the number of constants in the given array.

Related Videos

COLUMNS

See Also

References