Difference between revisions of "FillCells Command"

From GeoGebra Manual
Jump to: navigation, search
({{Note|1=You can use <code>FillCell(cell, Transpose({list}))</code> to fill vertically. The extra braces convert the list into a matrix thus <code>{list}</code>}})
 
(15 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.0}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|spreadsheet}}
{{command|spreadsheet}}
+
;FillCells( <CellRange>, <Object> ):Copies the value/equation etc. of the object to the given cellrange. Resulting cells are [[Free, Dependent and Auxiliary Objects|free objects]], i.e. independent of object.
;FillCells[<CellRange>, <Object>]
+
:{{Notes|1=
;FillCells[<Cell>, <List>]: Copies values from the list to the first cells on the right of the given cell. Resulting cells are free objects (i.e. independent on list L).  
+
:*''CellRange'' has to be entered like this: e.g.: ''B2:D5''.
;FillCells[<Cell>, <Matrix>]: Copies values from the matrix. The upper left corner of the matrix is matched to the given cell. Resulting cells are free objects (i.e. independent on matrix).  
+
:*''Object'' can be anything, e.g.: ''3'', ''RandomBetween(0, 10)'', ''Circle(A, B)''.
{{Note|Cells are labeled by column and row, e.g.: ''B2''.}}
+
:*Cells are labelled by column and row, e.g.: ''B2''.}}
 +
 
 +
;FillCells( <Cell>, <List> ):Copies values from the list to the first cells on the right of the given cell. Resulting cells are ([Free, Dependent and Auxiliary Objects|free objects)], i.e. independent of the list.  
 +
 
 +
;FillCells( <Cell>, <Matrix> ):Copies values from the matrix into the spreadsheet. The upper left corner of the matrix is matched to the given cell. Resulting cells are [[Free, Dependent and Auxiliary Objects|free objects]], i.e. independent of the matrix.  
 +
{{Note|1=See also [[FillRow  Command|FillRow]] and [[FillColumn Command|FillColumn]]  commands.}}
 +
{{Note|1=You can use <code>FillCell(cell, Transpose({list}))</code> to fill vertically. The extra braces convert the list into a matrix thus <code>{list}</code>}}

Latest revision as of 16:57, 28 November 2022


FillCells( <CellRange>, <Object> )
Copies the value/equation etc. of the object to the given cellrange. Resulting cells are free objects, i.e. independent of object.
Notes:
  • CellRange has to be entered like this: e.g.: B2:D5.
  • Object can be anything, e.g.: 3, RandomBetween(0, 10), Circle(A, B).
  • Cells are labelled by column and row, e.g.: B2.
FillCells( <Cell>, <List> )
Copies values from the list to the first cells on the right of the given cell. Resulting cells are ([Free, Dependent and Auxiliary Objects|free objects)], i.e. independent of the list.
FillCells( <Cell>, <Matrix> )
Copies values from the matrix into the spreadsheet. The upper left corner of the matrix is matched to the given cell. Resulting cells are free objects, i.e. independent of the matrix.
Note: See also FillRow and FillColumn commands.
Note: You can use FillCell(cell, Transpose({list})) to fill vertically. The extra braces convert the list into a matrix thus {list}
© 2024 International GeoGebra Institute