How do I copy Word tables into Excel without splitting cells into multiple rows?
You'll have to do a bit of character replacement. It's a pretty simple fix.
In Word:
- Select your entire table in Word.
- Open the "Find and Replace" dialog (e.g., by typing Ctrl+H).
- In the "Find what" field, enter
^l
. This will select all line breaks.- You may select paragraph breaks by entering
^p
.
- You may select paragraph breaks by entering
- In the "Replace with" field, enter
^v
.- This is a shortcut for the paragraph symbol ¶, also known as a "pilcrow".
- You may want to replace paragraph marks with two pilcrows for ease in replacement later.
- Click "Replace All".
- Copy the table data to the clipboard.
In Excel:
- Paste your table in the desired location in Excel.
- With the tabular data selected, open the "Find and Replace" dialog (again, Ctrl+H works).
- In the "Find what" field, enter the following Alt code: Alt+0182. A pilcrow appears.
- To enter an Alt code, hold down the Alt key as you type the digits on the numeric keypad. It may help to have Num Lock on.
- In the Replace field, enter the following Alt code: Alt+0010.
- This code enters in a single line break. Nothing appears, though your cursor may change.
- Click "Replace All".
References:
- http://ask.metafilter.com/168104/Copying-Word-tables-into-Excel-without-splitting-cells-into-multiple-rows
- http://symbolcodes.tlt.psu.edu/accents/codealt.html#punc
There is an easier way.
If you have a Google Gmail account, you can open up Google Drive, and create a new spreadsheet, then copy the entire table from Microsoft Word into the Google Spreadsheet. Once you have it in the desired format, you can then copy the table into Microsoft Excel.
I found that you can use LibreOffice Calc.
- Select your Word table
- Copy
- In LibreOffice Calc, Paste Special as HTML
- Save in your favorite format
Your table won't be split into multiple cells.