Entering and editing data
Type values and formulas, understand how typed text is interpreted, fill series, copy and paste, insert checkboxes and symbols, and undo.
This page covers getting data into cells and changing it: typing, the fill handle and fill commands, copying and pasting, checkboxes and symbols, clearing, and undo.
Type into a cell
- Click a cell, or move to it with the arrow keys.
- Start typing. What you type replaces the cell’s contents.
- Press Enter to confirm.
To change what a cell already holds instead of replacing it, double-click the cell or press F2. The editor opens over the cell with its current contents. You can also click in the contents box of the formula bar and edit there.
While you are editing:
| Key | What it does |
|---|---|
| Enter | Confirms and moves to the cell below |
| Shift+Enter | Confirms and moves to the cell above |
| Tab | Confirms and moves to the cell on the right |
| Shift+Tab | Confirms and moves to the cell on the left |
| Esc | Cancels the edit and leaves the cell as it was |
| Arrow keys | Move the text cursor inside the editor |
Clicking another cell or a sheet tab also confirms what you typed.
What happens when you type
Nixt Sheets decides what kind of value you typed as you confirm it.
| You type | The cell holds | Number format applied |
|---|---|---|
= followed by anything, such as =A1*2 | A formula | — |
An apostrophe first, such as '00123 | The text after the apostrophe | Text |
TRUE or FALSE, in any capitals | A logical value | — |
An error code such as #N/A or #DIV/0! | That error | — |
A plain number: 42, -3.5, 1.5e3 | A number | — |
A number that starts with 0 followed by another digit, such as 0123, or with +, such as +44 20 | Text, so the leading zero or plus is kept | — |
A percentage: 12%, 12.5 % | The fraction — 12% is 0.12 | 0.00% |
A number with thousands separators: 1,234 or 1,234.50 | The number | #,##0.00 |
A currency amount: $1,200, £45, €9.99, ¥500 | The number | The symbol followed by #,##0.00 |
| Anything else | Text | — |
The percentage, thousands and currency formats are applied only when the cell’s format is still General. A format you chose yourself is never replaced.
When a cell refuses what you type
| Status bar message | Why | What to do |
|---|---|---|
| Sheet is protected, and cell is locked. Sometimes followed by Unprotect the sheet on the Review tab to change it. | The sheet is protected and the cell is locked. | Unprotect the sheet, or ask whoever protected it to unlock the cell. See Protecting sheets and workbooks. |
| That value spills from cell**. Edit the formula there, or clear it first.** | The cell is filled by a dynamic array formula in another cell. | Edit or clear the formula in the cell named. See Writing formulas. |
| A message from a data validation rule, such as Pick one of: Open, Won, Lost | The cell has a validation rule and the value breaks it. | Type a value the rule allows. See Data tools. |
Typing next to a table
When you type in the row directly below a table, or the column directly to its right, the table grows to include the new cell. See Tables, slicers and timelines.
AutoSum
AutoSum writes a total of the numbers directly above the current cell.
- Click the empty cell under a column of numbers.
- Click Σ in Home › Editing, or one of Sum, Average, Count, Max or Min in Formulas › AutoSum.
The formula covers the unbroken run of filled cells above — for example =SUM(B2:B9). If the cell above is empty, the status bar says Nothing above this cell to SUM. (or the function you chose).
Fill cells
Drag the fill handle
The fill handle is the small square at the bottom-right corner of the selection.
- Select the cell or cells to fill from.
- Drag the fill handle down, up, right or left over the cells to fill.
- Release the mouse button.
A fill goes along one direction only — whichever way you dragged furthest. What the new cells get depends on what you started from:
| Starting cells | What the fill does | Example |
|---|---|---|
| One number | Counts up by one | 5 → 6, 7, 8 |
| Two or more numbers with the same step between them | Continues the step | 10, 20 → 30, 40 |
| Numbers without a steady step | Repeats the block | 3, 7, 4 → 3, 7, 4 |
| A weekday or month, full or three letters | Continues the sequence, keeping the abbreviation and capitals | Mon → Tue; MARCH → APRIL |
| A value from one of the workbook’s custom lists | Continues that list | See Custom lists |
| Text ending in a number | Counts the number up, keeping leading zeros | Item 09 → Item 10 |
| Other text | Repeats it | |
| A formula | Copies it, adjusting relative references | =A1*2 → =A2*2 |
Formatting is copied along with the values. Dragging up or left continues sequences backwards.
Dates are numbers with a date format, so a single date counts up one day at a time.
Fill commands
The Fill menu in Home › Editing fills the selection from one of its edges.
| Menu item | What it does |
|---|---|
| Down ⌘D | Fills the selection from its top row, the same way the fill handle does. Shortcut ⌘D (Ctrl+D on Windows and Linux). |
| Right ⌘R | Fills the selection from its left column. Shortcut ⌘R (Ctrl+R). |
| Up | Copies the bottom row of the selection into the rows above it, exactly as it is — formulas are not adjusted |
| Left | Copies the right-hand column of the selection into the columns to its left, exactly as it is |
| Flash Fill | Works out a pattern from examples you typed. See Data tools. |
| Across worksheets | Copies the selected cells to the same cells on every other sheet, replacing what is there. Empty cells in the selection clear the matching cells. |
| Across worksheets — formats only | Copies only the formatting of the selected cells to every other sheet, leaving their values alone |
| Justify | Reflows the words in a column of text so each line fits the column width |
| Series… | Opens the Series dialog |
| Custom lists… | Opens the Custom lists dialog |
Fill down and Fill right are also on the Data tab, in the Fill group.
Messages you may see:
| Message | What to do |
|---|---|
| Select the cells to fill. | Up and Left need a selection of more than one cell. |
| This workbook has only one sheet. | Across worksheets needs at least two sheets. |
| Select one column of cells to justify text into. | Select a single column at least two cells tall. |
| Fill Justify works on text. cell holds a number. | Justify only reflows text. |
| There is no text here to justify. | The selected cells are empty. |
| That text needs n rows and m are selected. | Select more rows below the text. |
The Series dialog
Use the Series dialog when you want to state the step and the stop value rather than let the fill handle guess.
- Put the first value in the top-left cell of the selection.
- Select the cells to fill, starting with that cell.
- Choose Home › Editing › Fill › Series….
- Set the options, then click Fill.
| Option | What it does |
|---|---|
| Series in — Rows or Columns | The direction to fill. It starts as Columns unless the selection is wider than it is tall. Each row, or each column, is filled from its own first cell. |
| Type — Linear | Each value is the one before it plus the step. |
| Type — Growth | Each value is the one before it multiplied by the step. |
| Type — Date | Steps a date by the Date unit. The first cell must hold a date — a number with a date format. |
| Type — AutoFill | Does exactly what the fill handle does, from the first cell of each row or column. |
| Date unit — Day, Weekday, Month, Year | For Date only. Weekday skips Saturdays and Sundays. A month step that lands past the end of a shorter month stops at that month’s last day. |
| Step | The amount to add, or to multiply by for Growth. If it can’t be read as a number, 1 is used. |
| Stop (optional) | The value to stop at. With a stop value the series can run past the selected cells; without one it fills exactly the selection. For a date series you can type the stop as a date. |
| Trend — take the step from the numbers already there | Fits a straight line (Linear) or an exponential curve (Growth) through the values already in the selection and continues it. The Step box is ignored. Not offered for Date. |
A line under the options describes the chosen type. Messages you may see:
| Message | What to do |
|---|---|
| Select the cells to fill, or give the series a stop value. | Select more than one cell, or type a stop value. |
| A series starts from a number. Put the first value in the top-left cell of the selection. | Type a number in the first cell. |
| A date series starts from a date. This cell holds a plain number — give it a date format first. | Format the first cell as a date. |
| A step of zero repeats the first value. Fill Down does that and does not need a dialog. | Use a step other than zero. |
| A growth series multiplies by the step, so a step of zero makes every value zero. Use 1 to repeat the number. | Use a step other than zero. |
| A trend needs at least two values to fit a line through. Select the numbers you already have as well as the empty cells. | Include the existing values in the selection. |
| These values do not make a growth trend — a growth series cannot pass through zero or change sign. | Use a linear trend. |
| Nothing to fill — the series stops before the second cell. | Choose a stop value further from the first value. |
| Filled n cells and stopped: the stop value is further off than a series is allowed to run. | A series stops after 100,000 values. Choose a nearer stop value. |
Custom lists
A custom list is an order your work uses that no calendar has — departments, product grades, the stages of a job. Once a list exists, the fill handle continues it: type the first item and drag.
Custom lists are stored in the workbook, so they travel with the file.
To make a list:
- Type the items in order, down a column or across a row.
- Select them.
- Choose Home › Editing › Fill › Custom lists….
- Click Make one from followed by the selection’s address.
- Click Done.
Blank cells and repeated items are left out. The status bar says The fill handle will continue from followed by the first item.
To remove a list, click the × (Remove) beside it in the Custom lists dialog.
| Message | What to do |
|---|---|
| A list needs at least two different values. Select the order you want, in the order you want it. | Select two or more different items. |
| That list is already here. | The workbook already has this list. |
Custom lists are checked before weekdays and months, so a list that contains March changes what follows March.
Copy, cut and paste
Within the workbook
- Select the cells.
- Press ⌘C to copy or ⌘X to cut (Ctrl+C or Ctrl+X on Windows and Linux). You can also click Cut or Copy in Home › Clipboard.
- Click the top-left cell of where the cells should go.
- Press ⌘V (Ctrl+V), or click Paste in Home › Clipboard.
A dashed outline marks the copied cells, and the status bar says Copied or Cut followed by their address.
- Copied formulas are adjusted to their new position:
=A1copied one row down becomes=A2. References with$stay fixed. - Cut formulas keep pointing at the same cells. After you paste, the original cells are cleared and the cut can’t be pasted again.
- Values, formulas, formatting and notes all come across.
You can paste into another sheet of the same workbook.
To and from other apps
Pressing ⌘C or ⌘X also puts the selection on the system clipboard as plain text, one row per line with tabs between the cells, showing values as they are displayed. Other spreadsheets and most text editors accept this.
To paste text from another app, copy it there and press ⌘V in Nixt Sheets. The text is split into cells on tabs, commas, semicolons or pipes — whichever appears most in the first lines — and each piece is typed as described in What happens when you type.
Paste Special
After copying, open the Paste menu in Home › Clipboard and choose what to bring across:
| Menu item | What it does |
|---|---|
| Paste | An ordinary paste |
| Values only | The calculated results, without formulas. The copied cells’ formatting comes with them. The status bar says Pasted values from followed by the source address. |
| Formatting only | The copied cells’ formatting, leaving the values under it untouched. The status bar says Pasted the formatting of followed by the source address. |
| Transposed | Pastes, then flips the pasted block so its rows become columns |
| Link to the original | Writes a formula in each cell that points at the copied cell, such as =$B$4, so the paste always shows what the original says. When you copied from another sheet, the formula names that sheet. Empty source cells are left empty rather than showing 0. |
If nothing has been copied, the status bar says Nothing copied. A link paste from a block with nothing in it says Nothing to link to — followed by the address is empty.
Format painter
The format painter copies formatting from one cell to others.
- Click the cell whose formatting you want.
- Click the format painter button in Home › Clipboard (its tooltip is Format painter — pick up this formatting). The status bar says Formatting picked up. Select the cells to paint. and the button stays highlighted.
- Select the cells to format.
- Click the format painter button again. Its tooltip now reads Select the cells to paint.
Checkboxes
A checkbox cell holds TRUE when ticked and FALSE when not. Because the tick is the cell’s value, =COUNTIF(A2:A20,TRUE) counts the ticked boxes, and a filter can show only ticked rows. In apps that don’t show checkboxes, the cells read TRUE and FALSE.
Insert checkboxes
- Select the cells — empty cells, or cells that already hold TRUE or FALSE.
- Choose Insert › Controls › Checkbox › Insert checkbox.
The status bar says how many were added. Cells that hold anything else are left alone. If none of the selected cells can take a checkbox, the status bar says Checkboxes go in blank cells or cells already holding TRUE or FALSE. Putting one over a price would erase the price.
Tick and untick
- Click the box itself. Clicking elsewhere in the cell selects the cell without changing the box.
- Or select one or more checkbox cells and press Space. If any of them are unticked, all are ticked; if all are ticked, all are unticked.
A checkbox whose cell holds a formula follows the formula. Clicking it shows cell is worked out by a formula, so its box follows the formula rather than the mouse.
Remove checkboxes
- Select the cells.
- Choose Insert › Controls › Checkbox › Remove checkbox.
The boxes go and the TRUE and FALSE values stay. If there were none, the status bar says There are no checkboxes in followed by the address.
Symbols
- Click a cell.
- Open Insert › Text › Symbol and choose a character: € euro, £ pound, ¥ yen, ° degree, ± plus-minus, × times, ÷ divide, ≈ approximately, ≤ at most, ≥ at least, ™ trademark, © copyright, → arrow, ✓ tick or • bullet.
The character is added to the end of what the cell shows. If the cell held a formula, the formula is replaced by its result followed by the symbol, as text.
Clear cells
Press Delete or Backspace to clear the contents of the selected cells and keep their formatting. If a picture or shape is selected, the key deletes that object instead.
The Clear menu in Home › Editing offers:
| Menu item | What it does |
|---|---|
| Clear contents | Removes values and formulas and keeps formatting |
| Clear formats | Resets the cells to the default formatting and keeps their values |
| Clear all | Both |
Undo and redo
| Action | macOS | Windows and Linux |
|---|---|---|
| Undo | ⌘Z | Ctrl+Z |
| Redo | ⇧⌘Z or ⌘Y | Ctrl+Shift+Z or Ctrl+Y |
The Undo and Redo buttons are at the right end of the ribbon’s tab row. Their tooltips name the step — for example Undo Paste or Redo Insert rows.
- The last 200 steps can be undone.
- Format cells applies its changes as one step: undoing it undoes everything you set in that visit to the dialog.
- Undo history lasts until you close the workbook. It is not saved with the file.
- Changing the zoom, the view, the calculation mode, watched cells and custom views are not undo steps.
Something unclear or out of date on this page? Tell us.