\<bookmark_value\>spreadsheets; shortcut keys in\</bookmark_value\>\<bookmark_value\>shortcut keys; spreadsheets\</bookmark_value\>\<bookmark_value\>sheet ranges; filling\</bookmark_value\>

Shortcut Keys for Spreadsheets

Note Icon

Some of the shortcut keys may be assigned to your desktop system. Keys that are assigned to the desktop system are not available to LibreOffice. Try to assign different keys either for LibreOffice, in \<emph\>Tools - Customize - Keyboard\</emph\>, or in your desktop system.


To fill a selected cell range with the formula that you entered on the Input line, press +Enter. Hold down +Enter+Shift to apply the cell format of the input cell to the entire cell range.

To create a matrix in which all the cells contain the same information as what you entered on the Input line, press Shift++Enter. You cannot edit the components of the matrix.

To select multiple cells in different areas of a sheet, hold down and drag in the different areas.

To select multiple sheets in a spreadsheet, hold down , and then click the name tabs at the lower edge of the workspace. To select only one sheet in a selection, hold down Shift, and then click the name tab of the sheet.

To insert a manual line break in a cell, click in the cell, and then press +Enter.

To delete the contents of selected cells, press Backspace. This opens the Delete Contents dialog, where you choose which contents of the cell you want to delete. To delete the contents of selected cells without a dialog, press the Delete key.

Navigating in Spreadsheets

Shortcut Keys

\<emph\>Effect\</emph\>

+Home

Moves the cursor to the first cell in the sheet (A1).

+End

Moves the cursor to the last cell on the sheet that contains data.

Home

Moves the cursor to the first cell of the current row.

End

Moves the cursor to the last cell of the current row.

Shift+Home

Selects cells from the current cell to the first cell of the current row.

Shift+End

Selects cells from the current cell to the last cell of the current row.

Shift+Page Up

Selects cells from the current cell up to one page in the current column or extends the existing selection one page up.

Shift+Page Down

Selects cells from the current cell down to one page in the current column or extends the existing selection one page down.

+Left Arrow

Moves the cursor to the left edge of the current data range. If the column to the left of the cell that contains the cursor is empty, the cursor moves to the next column to the left that contains data.

+Right Arrow

Moves the cursor to the right edge of the current data range. If the column to the right of the cell that contains the cursor is empty, the cursor moves to the next column to the right that contains data.

+Up Arrow

Moves the cursor to the top edge of the current data range. If the row above the cell that contains the cursor is empty, the cursor moves up to the next row that contains data.

+Down Arrow

Moves the cursor to the bottom edge of the current data range. If the row below the cell that contains the cursor is empty, the cursor moves down to the next row that contains data.

+Shift+Arrow

Selects all cells containing data from the current cell to the end of the continuous range of data cells, in the direction of the arrow pressed. If used to select rows and columns together, a rectangular cell range is selected.

+Page Up

Moves one sheet to the left.

In the print preview: Moves to the previous print page.

+Page Down

Moves one sheet to the right.

In the print preview: Moves to the next print page.

+Page Up

Moves one screen to the left.

+Page Down

Moves one screen page to the right.

Shift++Page Up

Adds the previous sheet to the current selection of sheets. If all the sheets in a spreadsheet are selected, this shortcut key combination only selects the previous sheet. Makes the previous sheet the current sheet.

Shift++Page Down

Adds the next sheet to the current selection of sheets. If all the sheets in a spreadsheet are selected, this shortcut key combination only selects the next sheet. Makes the next sheet the current sheet.

+ *

where (*) is the multiplication sign on the numeric key pad

Selects the data range that contains the cursor. A range is a contiguous cell range that contains data and is bounded by empty row and columns.

+ /

where (/) is the division sign on the numeric key pad

Selects the matrix formula range that contains the cursor.

+Plus key

Insert cells (as in menu Insert - Cells)

+Minus key

Delete cells (as in menu Edit - Delete Cells)

Enter - in a selected range

Moves the cursor down one cell in a selected range. To specify the direction that the cursor moves, choose - LibreOffice Calc - General.

+ ` (see note below this table)

Displays or hides the formulas instead of the values in all cells.


Note Icon

The ` key is located next to the "1" key on most English keyboards. If your keyboard does not show this key, you can assign another key: Choose Tools - Customize, click the Keyboard tab. Select the "View" category and the "Toggle Formula" function.


Function Keys Used in Spreadsheets

Shortcut Keys

\<emph\>Effect\</emph\>

+F1

Displays the note that is attached to the current cell

F2

Switches to Edit mode and places the cursor at the end of the contents of the current cell. Press again to exit Edit mode.

If the cursor is in an input box in a dialog that has a \<emph\>Minimize \</emph\>button, the dialog is hidden and the input box remains visible. Press F2 again to show the whole dialog.

+F2

Opens the Function Wizard.

Shift++F2

Moves the cursor to the \<emph\>Input line\</emph\> where you can enter a formula for the current cell.

+F3

Opens the \<emph\>Define Names\</emph\> dialog.

Shift++F4

Shows or Hides the Database explorer.

F4

Rearranges the relative or absolute references (for example, A1, $A$1, $A1, A$1) in the input field.

F5

Shows or hides the \<emph\>Navigator\</emph\>.

Shift+F5

Traces dependents.

Shift+F4

Traces precedents.

Shift++F5

Moves the cursor from the \<emph\>Input line \</emph\>to the \<emph\>Sheet area\</emph\> box.

F7

Checks spelling in the current sheet.

+F7

Opens the Thesaurus if the current cell contains text.

F8

Turns additional selection mode on or off. In this mode, you can use the arrow keys to extend the selection. You can also click in another cell to extend the selection.

+F8

Highlights cells containing values.

F9

Recalculates all of the formulas in the sheet.

+Shift+F9

Recalculates all formulas in all sheets.

+F9

Updates the selected chart.

Opens the Styles window where you can apply a formatting style to the contents of the cell or to the current sheet.

Shift+F11

Creates a document template.

Shift+F11

Updates the templates.

F12

Groups the selected data range.

+F12

Ungroups the selected data range.

+Down Arrow

Increases the height of current row (only in OpenOffice.org legacy compatibility mode).

+Up Arrow

Decreases the height of current row (only in OpenOffice.org legacy compatibility mode).

+Right Arrow

Increases the width of the current column.

+Left Arrow

Decreases the width of the current column.

+Shift+Arrow Key

Optimizes the column width or row height based on the current cell.


Formatting Cells Using Shortcut Keys

The following cell formats can be applied with the keyboard:

Shortcut Keys

\<emph\>Effect\</emph\>

+1 (not on the number pad)

Open Format Cells dialog

+Shift+1 (not on the number pad)

Two decimal places, thousands separator

+Shift+2 (not on the number pad)

Standard exponential format

+Shift+3 (not on the number pad)

Standard date format

+Shift+4 (not on the number pad)

Standard currency format

+Shift+5 (not on the number pad)

Standard percentage format (two decimal places)

+Shift+6 (not on the number pad)

Standard format


Using the DataPilot

Keys

Effect

Tab

Changes the focus by moving forwards through the areas and buttons of the dialog.

Shift+Tab

Changes the focus by moving backwards through the areas and buttons of the dialog.

up arrow

Moves the focus up one item in the current dialog area.

down arrow

Moves the focus down one item in the current dialog area.

left arrow

Moves the focus one item to the left in the current dialog area.

right arrow

Moves the focus one item to the right in the current dialog area.

Home

Selects the first item in the current dialog area.

End

Selects the last item in the current dialog area.

and the underlined character in the word "Row"

Copies or moves the current field into the "Row" area.

and the underlined character in the word "Column"

Copies or moves the current field into the "Column" area.

and the underlined character in the word "Data"

Copies or moves the current field into the "Data" area.

+Up Arrow

Moves the current field up one place.

+Down Arrow

Moves the current field down one place.

+Left Arrow

Moves the current field one place to the left.

+Right Arrow

Moves the current field one place to the right.

+Home

Moves the current field to the first place.

+End

Moves the current field to the last place.

+O

Displays the options for the current field.

Delete

Removes the current field from the area.