Combining 2 or more rows of text

nikita

New Member
Joined
Sep 13, 2005
Messages
12
:cry: I have text that is in 10 rows instead of just 1 row. How can I combine it quickly, without lose of text? I have a spreadsheet that has over 2000 rows like this. The original author did not know about wrapping text. grrrr :devilish:
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Dan Waterloo

Well-known Member
Joined
Jan 4, 2007
Messages
876
You can concatenate text in in two or more cells by using the ampersand operator or the CONCATENATE function.

E.g., To combine the text in cells A1 to A10 you could write one of these two formulas:
= A1 & A2 & A3 & A4 & A5 & A6 & A7 & A8 & A9 & A10
= CONCATENATE(A1, A2, A3, etc)

This leaves you with a formula. If you want just the text then you should Copy it and Paste Special as Values.

You can also get clever and include linefeed characters using the CHAR function:
= A1 & CHAR(010) & A2 & CHAR(010) & A3 etc.

You need to format the cells as Wrap Text in order to attain the desired effect.
 

Forum statistics

Threads
1,181,648
Messages
5,931,213
Members
436,784
Latest member
amuljono

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top