Collapse data within a cell

C

Collapse

I downloaded a set of data that instead of making a free-
flowing paragraph within a cell, it gives the paragraph
that is separated by line breaks within the cell. As
such, I am not able to format the cell appropriately such
that I can collapse the height and expand the column.

One possible solution I thought of would be to find and
replace all line breaks within cells with a space and thus
have all the data collapse into one complete sentence, but
this does not seem to work.

Could someone help?

EXAMPLE

I would like to have the cell include data in this form.

But the cell
shows the data
abbreviated
like this.
 
S

Stan Scott

You can use the CLEAN function to remove non-printable characters from text.

Stan Scott
New York City
 
K

keepITcool

however the linebreaks ARE printable..
the characters to be replaced are either CHAR(10), CHAR(13) or
a combination.. thus following should clean both:

=substitute(substitute(a1,char(10),""),char(13),"")



keepITcool

< email : keepitcool chello nl (with @ and .) >
< homepage: http://members.chello.nl/keepitcool >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top