Sub topic 7
Copying and using paste special
This chapter assumes you can select cells and ranges, enter values and formulas, and tell a stored value from its displayed format. It also assumes you know what a relative reference like B2 and an absolute reference like $E$1 are. The chapter covers what a copy actually carries, how Sheets adjusts formulas on paste, and how paste special lets you choose which parts to bring over.
What a copy carries
When you copy a cell or range, Sheets remembers several things about each source cell:
- The stored content: the typed value or the formula.
- The displayed result, which is what a formula calculated.
- The format: number format, font, alignment, borders, fill color.
- Attached rules: conditional formatting, data validation, and notes.
A normal paste (Ctrl+V on Windows and ChromeOS, Cmd+V on Mac) writes all of these into the destination. Paste special lets you write only some of them. The source stays marked with a dashed border until you press Esc or start typing, so you can paste more than once from a single copy.
Cut (Ctrl+X) differs from copy in one important way. Cut moves the cells. Formulas elsewhere in the sheet that pointed to the moved cells are updated to point to the new location. Copy never changes the formulas that refer to the source.
How formulas change when pasted
When you paste a formula, Sheets shifts its relative references by the same distance you moved. Absolute references do not shift.
Suppose C2 contains this formula, where E1 holds a tax rate:
=B2*$E$1Copy C2 and paste it into C5. The destination holds =B5*$E$1. The row moved down three, so B2 became B5. The $E$1 stayed fixed because of the $ signs.
A mixed reference locks only one part. In =$C2>100, the column is fixed and the row is relative. Pasted down a column, it checks C3, C4, and so on. Pasted across a row, it still checks column C.
Cut and paste behaves differently. A cut formula keeps its original references exactly, because it is moving rather than being duplicated.
Pasting into different shapes
The destination does not have to match the source size.
- One cell to a range: select the whole destination range, then paste. The single cell is copied into every cell of the range.
- A range to one cell: select one cell. Sheets pastes the full range with that cell as the top-left corner.
- A range to a larger range: if the destination is a multiple of the source size, the source pattern repeats. Otherwise only one copy is pasted.
Pasting over existing data overwrites it without a prompt. Undo with Ctrl+Z if that was a mistake.
The paste special menu
Open the menu from Edit > Paste special, or right-click the destination and choose Paste special. The options are:
| Option | What it writes |
|---|---|
| Values only | The displayed results. Formulas become fixed values. |
| Format only | Formatting alone. Destination values stay as they are. |
| Formula only | Formulas, without the source formatting. |
| Conditional formatting only | Only the conditional formatting rules. |
| Data validation only | Only the validation rules. |
| All except borders | Everything except borders. |
| Column widths only | The width of the source columns. |
| Transposed | Rows become columns and columns become rows. |
The menu also includes a Paste as pivot table option, which is outside this chapter.
Keyboard shortcuts exist for the most common ones. Ctrl+Shift+V pastes values only. Ctrl+Alt+V opens the paste special menu on Windows and ChromeOS. Shortcuts can differ by browser and operating system, so check the Edit menu if one does not respond.
Values only
Values only replaces formulas with the numbers or text they currently show. This is useful in three situations:
- You want a snapshot that will not change when the source data changes.
- You are about to delete the cells a formula depends on. Without converting first, the formula would show
#REF!. - You want to strip formatting while keeping the content. This is common when pasting from a web page or another document.
Values only is not reversible in the sense that the original formula is gone. Keep the original, or use Undo right away.
A subtle point: values only pastes the stored result of a formula, but dates and numbers stay as numbers. A date remains a date serial value, shown according to the destination's format. If the destination has a different number format, the same value can look different.
Format only
Format only is the quickest way to make one area look like another. Copy a styled header cell, select the other header cells, and choose Paste special > Format only. Their text stays and their style changes. The paint format tool in the toolbar does the same job for a single use.
Transposed
Transposing flips orientation. A column of five names becomes a row of five names. The result is static: it does not update if the source changes. If you need a live version, the TRANSPOSE function produces a result that follows the source. That function takes a range as its argument and is entered like any other formula.
Pasting from outside Sheets
Text pasted from a web page, a document, or another spreadsheet application may bring formatting along. Choose Ctrl+Shift+V to paste without it.
Plain text separated by tabs lands in separate cells, one cell per tab-separated piece. Text separated by commas usually does not split automatically. It lands in one cell. Use SPLIT or Data > Split text to columns to separate it. A later chapter covers cleaning data in more detail.
Pasted text still goes through the detection rules for typed values. A string like 00123 becomes the number 123, and 3/4 may become a date. If that matters, format the destination as Plain text first, then paste.
Common errors
- Formulas that point to the wrong cells after paste. The reference was relative and you wanted it fixed. Edit the source formula to use
$before copying. #REF!after deleting cells. A formula referred to cells that no longer exist. Convert to values first if you plan to remove the source.- Pasted values look different from the source. The destination has a different number format. Use Format only to align them, or set the format before pasting.
- Paste fails on a filtered or protected range. Protected ranges reject changes from users without edit permission, and filtered views can hide cells you did not notice you were overwriting.
- A multi-range selection refuses to paste. Sheets cannot copy several disjoint ranges that do not form a consistent shape. Copy them one at a time.
Worked example
Column B holds unit prices, and E1 holds a multiplier of 1.1.
- In
C2, enter=B2*$E$1. - Copy
C2and paste it intoC3:C10. Each row now multiplies its ownBvalue by the fixedE1. - Select
C2:C10, copy, then choose Paste special > Values only intoD2:D10. Column D holds fixed prices. - Copy
B2, selectD2:D10, and use Paste special > Format only so the currency format matches.
Now column D no longer depends on E1. You can change or clear E1 and column D stays the same.
Exercise
Cell C2 holds =B2*$E$1. You copy C2 and paste it into D4. What formula does D4 contain, and why?
Show answer
D4 contains =C4*$E$1. The paste moved one column right and two rows down, so the relative reference B2 shifts to C4. The absolute reference $E$1 does not shift because of its dollar signs.
Exercise
You have a column of formulas in C2:C20 that calculate prices from data on a tab you plan to delete. How do you keep the results, and what happens if you skip this step?
Show answer
Copy C2:C20 and paste it over itself using Paste special > Values only (Ctrl+Shift+V). This replaces each formula with its current result. If you delete the tab first, the formulas lose their references and show #REF!.