Problem after exporting Outlook emails into Excel

fuzzyjonclay

New Member
Joined
Jul 30, 2017
Messages
9
Hi there everyone

I've just converted a bunch of emails from an Outlook folder into Excel. All went well except for the field that is the body of the email is causing me an issue.

In Excel, the converted field shows in the cell as e.g.:

Name John Smith Company John Smith Limited Position Managing Director

I would like to split this into its component parts and I tried to do this using the "Text to Columns" function.

However, when I actually look at the Excel cell, the various components of the line above are separated by a bunch of carriage returns, so they are not really on one line at all. This makes it impossible to use the "Text to Columns" function to split the cell up into the component parts.

So, I was wondering if there's a way to easily remove all carriage returns from a cell and thus make the contents appear all on one line?

I hope that makes sense!

Many thanks
Jon
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Possibly use the SUBSTITUTE function, and then copy/paste values:

Code:
=SUBSTITUTE(A1, CHAR(13), "")

assuming that the carriage return is ASCII code 13.
 
Upvote 0

Forum statistics

Threads
1,214,962
Messages
6,122,482
Members
449,088
Latest member
Melvetica

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
Back
Top