---
url: https://chartbuddy.io/extension/docs/data/paste-and-edit.md
---
> Docs index: [llms.txt](https://chartbuddy.io/extension/docs/llms.txt)

# Paste and edit data

The fastest way to get numbers into a chart is to copy them from Excel, Google Sheets or another table and paste them into the data window. This page covers pasting, the notices Chartbuddy shows when it has to guess how to read your numbers, and editing cells by hand.

## Paste from a spreadsheet

1. Copy the cells in Excel or Google Sheets, including the row with series names and the column with category labels.
2. Open the data window ([Show or hide the data window](https://chartbuddy.io/extension/docs/data.md#show-or-hide-the-data-window)) and click the top-left cell.
3. Press **Ctrl+V** (**⌘+V**), or right-click and choose **Paste**.

To swap rows and columns while pasting, right-click and choose **Paste Transposed**.

Chartbuddy reads numbers written in either style (`1,234.56` or `1.234,56`). When a paste leaves it unsure, a notice appears next to the pasted cells:

* If a separator could mean either thousands or decimals, it says how it read the column; click **Approve** to keep that or **Decline** to read it the other way.
* If the pasted numbers use the other decimal style than the window, it offers **Switch to US** or **Switch to EU** and **Keep US** or **Keep EU** for the current style. Tick **Remember my choice** to skip the question next time; click **Ask me next time** in the follow-up to undo your remembered choice.

The **i** button on a notice explains it; **×** dismisses it.

![The paste notice offering Switch to EU and Keep US](https://chartbuddy.io/images/data/paste-and-edit/02-eu-paste-notice.png)

## Edit cells

Click a cell and type; **Enter** or **Tab** saves and moves on, **Escape** cancels. **F2** edits the cell you are on.

* **Formulas:** start with `=`, as in `=SUM(B2:B5)`. Most Excel functions work. While typing a formula, click or drag over cells to insert them; **fx** lists common functions. Copied formulas shift like in Excel.
* **Several cells at once:** select them, type a value and press **Ctrl+Enter** (**⌘+Enter**) to put it in every cell. **Ctrl+D** (**⌘+D**) fills down, **Ctrl+R** (**⌘+R**) fills right.
* **Clear:** select cells and press **Delete**.
* **Line break inside a cell:** **Alt+Enter** (**Option+Enter** on Mac).

**Ctrl+/** (**⌘+/**) shows the full list of shortcuts in the window.

![A formula being typed in the data window with its range highlighted](https://chartbuddy.io/images/data/paste-and-edit/01-formula-range.png)

## Related

* [The data window](https://chartbuddy.io/extension/docs/data.md) – open it, add rows and columns
* [Number formats and Smart format](https://chartbuddy.io/extension/docs/data/number-formats.md) – how numbers show in the window and on the chart
