How to copy a ChatGPT table into Excel or Google Sheets
When ChatGPT shows a table, it is written in markdown underneath: rows of text separated by | pipes. Copy it the right way and it lands in neat cells. Copy it the wrong way and you get one long column of pipes and dashes.
Method 1: select the table on screen
- In the chat, drag to select the table itself, from the first header cell to the last cell.
- Copy with Ctrl+C (Cmd+C on Mac).
- Click cell A1 in Excel or Google Sheets and paste.
Because the chat window draws the table as HTML, the spreadsheet usually receives proper rows and columns.
Method 2: ask for CSV
Ask: Give me this table as CSV in a code block. Copy the code block, then in Google Sheets use Data, Split text to columns, or in Excel use Data, Text to Columns with comma as the separator.
Method 3: fix a pipe table by hand
If you already have text like | Name | Price |, paste it into one column, use Text to Columns with | as a custom separator, then delete the empty first and last columns and the --- divider row.
Watch the quotes and spaces
Curly quotes and non-breaking spaces can stop numbers from being treated as numbers. If a column will not add up, run the text through the invisible character remover and smart quotes converter first.