How do I copy Word tables into Excel without splitting cells into multiple rows? Announcing...
Right-skewed distribution with mean equals to mode?
When is phishing education going too far?
What's the purpose of writing one's academic bio in 3rd person?
Diagram with tikz
What is a Meta algorithm?
What causes the vertical darker bands in my photo?
Is there a concise way to say "all of the X, one of each"?
Why did the IBM 650 use bi-quinary?
How can I fade player when goes inside or outside of the area?
Why does Python start at index -1 when indexing a list from the end?
Do you forfeit tax refunds/credits if you aren't required to and don't file by April 15?
Should I call the interviewer directly, if HR aren't responding?
What are the pros and cons of Aerospike nosecones?
Single word antonym of "flightless"
Does surprise arrest existing movement?
What happens to sewage if there is no river near by?
How do I keep my slimes from escaping their pens?
Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?
Why one of virtual NICs called bond0?
When -s is used with third person singular. What's its use in this context?
If a contract sometimes uses the wrong name, is it still valid?
How much radiation do nuclear physics experiments expose researchers to nowadays?
Why was the term "discrete" used in discrete logarithm?
How does a Death Domain cleric's Touch of Death feature work with Touch-range spells delivered by familiars?
How do I copy Word tables into Excel without splitting cells into multiple rows?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Pasting to Excel from Word - stop a Word new line being converted into a new cellIs it possible to remove specific characters from a cell based on color and retaining formatting?Pasting to Excel from Word - stop a Word new line being converted into a new cellUsing Excel 2007 Pivot Tables/Graphs linked to WORD questionsCopy/Pasting data from SQL Server to Excel splits up text into multiple columns?How can I copy spreadsheet cells into word document?How do I copy datas with blank/tab into multiple excel cells?Excel - Copy cells without formatting / style dataJoining multiple cells in ExcelHow to copy multiple lines from MS word and paste them into Multiple lines in Excel?How to split cell content into rows by paragraph in wordMerging cells accross multiple rows in Excel
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I have data in a Word table that includes line and paragraph breaks. When I copy the data into Excel, it splits each line and paragraph I want into multiple cells. How do I copy the data to Excel and keep the breaks?
microsoft-excel microsoft-word
add a comment |
I have data in a Word table that includes line and paragraph breaks. When I copy the data into Excel, it splits each line and paragraph I want into multiple cells. How do I copy the data to Excel and keep the breaks?
microsoft-excel microsoft-word
add a comment |
I have data in a Word table that includes line and paragraph breaks. When I copy the data into Excel, it splits each line and paragraph I want into multiple cells. How do I copy the data to Excel and keep the breaks?
microsoft-excel microsoft-word
I have data in a Word table that includes line and paragraph breaks. When I copy the data into Excel, it splits each line and paragraph I want into multiple cells. How do I copy the data to Excel and keep the breaks?
microsoft-excel microsoft-word
microsoft-excel microsoft-word
asked Apr 28 '14 at 17:39
skia.heliouskia.heliou
1,65021521
1,65021521
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
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
This answer (with trivial, cosmetic differences) appeared on Microsoft.com at Retain multi-line cells when pasting Word table into Excel. And, BTW, I find that (Alt)+010 is good enough; I don’t need the two leading zeros.
– G-Man
Apr 30 '15 at 21:10
@G-Man Ha...if only I'd found that earlier! Too bad I wasn't working in Office 2007 at the time. Also, do you mean the leading one zero (Alt+010) or the leading two (Alt+10)?
– skia.heliou
May 1 '15 at 17:03
Thanks - I got all of the steps to work on a Mac (in Excel 15) except for the last one - I was unable to get the alt-0010 or line break entered. Any suggestions? I tried copying-and-pasting a line break from another source as well as a few other tricks.
– JayCrossler
Jun 17 '16 at 14:46
Office 2013 here, this doesn't work. Still getting multiple rows in Excel after the replacement.
– Neil
Dec 17 '18 at 17:49
add a comment |
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.
5
... or... just leave it in Drive :)
– GreenAsJade
Jul 20 '16 at 2:36
I had to copy from Word to Google Doc and then from Google Doc to Google Sheet (or else the line breaks would disappear). +1 anyway
– user2518618
Sep 20 '18 at 14:04
add a comment |
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.
add a comment |
I made a vba function to remove newline that caused the cells to split in excel before copying to excel.
sub RemoveNewLinesFromTabelCells(tblnumber as integer)
'remove newline from every cell in the selected table table by table number
dim x as long, y as long, columncount as long, rowcount as long
columncount = Activedocument.Tables(tblNumber).Range.Columns.Count
rowcount = Activedocument.Tables(tblNumber).Range.Rows.Count
for x = 1 to rowcount
for y = 1 to columncount
ActiveDocument.Tables(tblNumber).cell(x,y).Range.Text = Replace(ActiveDocument.TAbles(tblNumber).cell(x,y).Range.Text, Chr(13,"")
next y
next x
end sub
add a comment |
protected by Community♦ 21 hours ago
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
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
This answer (with trivial, cosmetic differences) appeared on Microsoft.com at Retain multi-line cells when pasting Word table into Excel. And, BTW, I find that (Alt)+010 is good enough; I don’t need the two leading zeros.
– G-Man
Apr 30 '15 at 21:10
@G-Man Ha...if only I'd found that earlier! Too bad I wasn't working in Office 2007 at the time. Also, do you mean the leading one zero (Alt+010) or the leading two (Alt+10)?
– skia.heliou
May 1 '15 at 17:03
Thanks - I got all of the steps to work on a Mac (in Excel 15) except for the last one - I was unable to get the alt-0010 or line break entered. Any suggestions? I tried copying-and-pasting a line break from another source as well as a few other tricks.
– JayCrossler
Jun 17 '16 at 14:46
Office 2013 here, this doesn't work. Still getting multiple rows in Excel after the replacement.
– Neil
Dec 17 '18 at 17:49
add a comment |
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
This answer (with trivial, cosmetic differences) appeared on Microsoft.com at Retain multi-line cells when pasting Word table into Excel. And, BTW, I find that (Alt)+010 is good enough; I don’t need the two leading zeros.
– G-Man
Apr 30 '15 at 21:10
@G-Man Ha...if only I'd found that earlier! Too bad I wasn't working in Office 2007 at the time. Also, do you mean the leading one zero (Alt+010) or the leading two (Alt+10)?
– skia.heliou
May 1 '15 at 17:03
Thanks - I got all of the steps to work on a Mac (in Excel 15) except for the last one - I was unable to get the alt-0010 or line break entered. Any suggestions? I tried copying-and-pasting a line break from another source as well as a few other tricks.
– JayCrossler
Jun 17 '16 at 14:46
Office 2013 here, this doesn't work. Still getting multiple rows in Excel after the replacement.
– Neil
Dec 17 '18 at 17:49
add a comment |
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
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
edited Apr 30 '15 at 21:09
G-Man
5,713112360
5,713112360
answered Apr 28 '14 at 17:39
skia.heliouskia.heliou
1,65021521
1,65021521
This answer (with trivial, cosmetic differences) appeared on Microsoft.com at Retain multi-line cells when pasting Word table into Excel. And, BTW, I find that (Alt)+010 is good enough; I don’t need the two leading zeros.
– G-Man
Apr 30 '15 at 21:10
@G-Man Ha...if only I'd found that earlier! Too bad I wasn't working in Office 2007 at the time. Also, do you mean the leading one zero (Alt+010) or the leading two (Alt+10)?
– skia.heliou
May 1 '15 at 17:03
Thanks - I got all of the steps to work on a Mac (in Excel 15) except for the last one - I was unable to get the alt-0010 or line break entered. Any suggestions? I tried copying-and-pasting a line break from another source as well as a few other tricks.
– JayCrossler
Jun 17 '16 at 14:46
Office 2013 here, this doesn't work. Still getting multiple rows in Excel after the replacement.
– Neil
Dec 17 '18 at 17:49
add a comment |
This answer (with trivial, cosmetic differences) appeared on Microsoft.com at Retain multi-line cells when pasting Word table into Excel. And, BTW, I find that (Alt)+010 is good enough; I don’t need the two leading zeros.
– G-Man
Apr 30 '15 at 21:10
@G-Man Ha...if only I'd found that earlier! Too bad I wasn't working in Office 2007 at the time. Also, do you mean the leading one zero (Alt+010) or the leading two (Alt+10)?
– skia.heliou
May 1 '15 at 17:03
Thanks - I got all of the steps to work on a Mac (in Excel 15) except for the last one - I was unable to get the alt-0010 or line break entered. Any suggestions? I tried copying-and-pasting a line break from another source as well as a few other tricks.
– JayCrossler
Jun 17 '16 at 14:46
Office 2013 here, this doesn't work. Still getting multiple rows in Excel after the replacement.
– Neil
Dec 17 '18 at 17:49
This answer (with trivial, cosmetic differences) appeared on Microsoft.com at Retain multi-line cells when pasting Word table into Excel. And, BTW, I find that (Alt)+010 is good enough; I don’t need the two leading zeros.
– G-Man
Apr 30 '15 at 21:10
This answer (with trivial, cosmetic differences) appeared on Microsoft.com at Retain multi-line cells when pasting Word table into Excel. And, BTW, I find that (Alt)+010 is good enough; I don’t need the two leading zeros.
– G-Man
Apr 30 '15 at 21:10
@G-Man Ha...if only I'd found that earlier! Too bad I wasn't working in Office 2007 at the time. Also, do you mean the leading one zero (Alt+010) or the leading two (Alt+10)?
– skia.heliou
May 1 '15 at 17:03
@G-Man Ha...if only I'd found that earlier! Too bad I wasn't working in Office 2007 at the time. Also, do you mean the leading one zero (Alt+010) or the leading two (Alt+10)?
– skia.heliou
May 1 '15 at 17:03
Thanks - I got all of the steps to work on a Mac (in Excel 15) except for the last one - I was unable to get the alt-0010 or line break entered. Any suggestions? I tried copying-and-pasting a line break from another source as well as a few other tricks.
– JayCrossler
Jun 17 '16 at 14:46
Thanks - I got all of the steps to work on a Mac (in Excel 15) except for the last one - I was unable to get the alt-0010 or line break entered. Any suggestions? I tried copying-and-pasting a line break from another source as well as a few other tricks.
– JayCrossler
Jun 17 '16 at 14:46
Office 2013 here, this doesn't work. Still getting multiple rows in Excel after the replacement.
– Neil
Dec 17 '18 at 17:49
Office 2013 here, this doesn't work. Still getting multiple rows in Excel after the replacement.
– Neil
Dec 17 '18 at 17:49
add a comment |
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.
5
... or... just leave it in Drive :)
– GreenAsJade
Jul 20 '16 at 2:36
I had to copy from Word to Google Doc and then from Google Doc to Google Sheet (or else the line breaks would disappear). +1 anyway
– user2518618
Sep 20 '18 at 14:04
add a comment |
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.
5
... or... just leave it in Drive :)
– GreenAsJade
Jul 20 '16 at 2:36
I had to copy from Word to Google Doc and then from Google Doc to Google Sheet (or else the line breaks would disappear). +1 anyway
– user2518618
Sep 20 '18 at 14:04
add a comment |
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.
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.
answered Nov 23 '15 at 3:26
Abe BasaniAbe Basani
15112
15112
5
... or... just leave it in Drive :)
– GreenAsJade
Jul 20 '16 at 2:36
I had to copy from Word to Google Doc and then from Google Doc to Google Sheet (or else the line breaks would disappear). +1 anyway
– user2518618
Sep 20 '18 at 14:04
add a comment |
5
... or... just leave it in Drive :)
– GreenAsJade
Jul 20 '16 at 2:36
I had to copy from Word to Google Doc and then from Google Doc to Google Sheet (or else the line breaks would disappear). +1 anyway
– user2518618
Sep 20 '18 at 14:04
5
5
... or... just leave it in Drive :)
– GreenAsJade
Jul 20 '16 at 2:36
... or... just leave it in Drive :)
– GreenAsJade
Jul 20 '16 at 2:36
I had to copy from Word to Google Doc and then from Google Doc to Google Sheet (or else the line breaks would disappear). +1 anyway
– user2518618
Sep 20 '18 at 14:04
I had to copy from Word to Google Doc and then from Google Doc to Google Sheet (or else the line breaks would disappear). +1 anyway
– user2518618
Sep 20 '18 at 14:04
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
edited Apr 30 '15 at 18:37
G-Man
5,713112360
5,713112360
answered Apr 30 '15 at 17:48
PierPier
1091
1091
add a comment |
add a comment |
I made a vba function to remove newline that caused the cells to split in excel before copying to excel.
sub RemoveNewLinesFromTabelCells(tblnumber as integer)
'remove newline from every cell in the selected table table by table number
dim x as long, y as long, columncount as long, rowcount as long
columncount = Activedocument.Tables(tblNumber).Range.Columns.Count
rowcount = Activedocument.Tables(tblNumber).Range.Rows.Count
for x = 1 to rowcount
for y = 1 to columncount
ActiveDocument.Tables(tblNumber).cell(x,y).Range.Text = Replace(ActiveDocument.TAbles(tblNumber).cell(x,y).Range.Text, Chr(13,"")
next y
next x
end sub
add a comment |
I made a vba function to remove newline that caused the cells to split in excel before copying to excel.
sub RemoveNewLinesFromTabelCells(tblnumber as integer)
'remove newline from every cell in the selected table table by table number
dim x as long, y as long, columncount as long, rowcount as long
columncount = Activedocument.Tables(tblNumber).Range.Columns.Count
rowcount = Activedocument.Tables(tblNumber).Range.Rows.Count
for x = 1 to rowcount
for y = 1 to columncount
ActiveDocument.Tables(tblNumber).cell(x,y).Range.Text = Replace(ActiveDocument.TAbles(tblNumber).cell(x,y).Range.Text, Chr(13,"")
next y
next x
end sub
add a comment |
I made a vba function to remove newline that caused the cells to split in excel before copying to excel.
sub RemoveNewLinesFromTabelCells(tblnumber as integer)
'remove newline from every cell in the selected table table by table number
dim x as long, y as long, columncount as long, rowcount as long
columncount = Activedocument.Tables(tblNumber).Range.Columns.Count
rowcount = Activedocument.Tables(tblNumber).Range.Rows.Count
for x = 1 to rowcount
for y = 1 to columncount
ActiveDocument.Tables(tblNumber).cell(x,y).Range.Text = Replace(ActiveDocument.TAbles(tblNumber).cell(x,y).Range.Text, Chr(13,"")
next y
next x
end sub
I made a vba function to remove newline that caused the cells to split in excel before copying to excel.
sub RemoveNewLinesFromTabelCells(tblnumber as integer)
'remove newline from every cell in the selected table table by table number
dim x as long, y as long, columncount as long, rowcount as long
columncount = Activedocument.Tables(tblNumber).Range.Columns.Count
rowcount = Activedocument.Tables(tblNumber).Range.Rows.Count
for x = 1 to rowcount
for y = 1 to columncount
ActiveDocument.Tables(tblNumber).cell(x,y).Range.Text = Replace(ActiveDocument.TAbles(tblNumber).cell(x,y).Range.Text, Chr(13,"")
next y
next x
end sub
answered Feb 28 '17 at 16:29
codecainecodecaine
11
11
add a comment |
add a comment |
protected by Community♦ 21 hours ago
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?