Login|Contact Us
Question and Answer

Programming

Ask a Programming Question, Get an Answer ASAP!

  • Ask A Question
  • Browse Answers
  • Meet The Experts
  • How JustAnswer Works

How to replace a carriage return in excel needs to be

 

Customer Question

How to replace a carriage return in excel
 needs to be replaced by <p>

example:
100X SOLUTION Endotoxins (EU/mL): -le 0.5pH @25-degC: 5.8-6.5Storage: FTOXIC, IRRITANT, SUSPECTED TERATOGEN

Submitted: 1420 days and 20 hours ago.
Category: Programming
Value: $22
Status: CLOSED
Picture
Expert:  John D replied 1420 days and 20 hours ago.

Hi,

 

You can use the Replace command under the Edit menu, and then use the Alt code keys to enter 013 for carriage return or 010 for line feed.

 

If you want me to replace it for you please upload the file at http://www.wikisend.com/ then copy the download link that they will give you and paste it in your reply here.

 

Hope this helps. Let me know if you have any questions.

 

 

Customer replied 1420 days and 20 hours ago.

Please explain Alt code keys

Picture
Expert:  John D replied 1420 days and 20 hours ago.

Ok, Alt codes generated by first activating your Number Lock on your keyboard then holding down the Alt key and typing numbers on the number pad (not the numbers across the top of your keyboard). If you do not have a separate number pad on the right hand side of your keyboard then your number pad would be the keys M,J,K,L,U,,O,7,8,9 (representing 0 to 9). You should see these keys marked with these numbers in blue.

 

Here is how to activate and type Alt codes:

 

Activate the number lock on your keyboard by pressing on Num Lk key, then while holding down the Alt key type 0176 (using the number key pad) and let go. This will insert the ° symbol.
Note: On some systems you need to hold down the Fn key together with the Alt key while entering the numbers.

 

Alternatively, if the above text is in a cell, let me know which cell and I will write you a formula that will automatically replace all instants of carriage return by another character say the dash.

 

 

Customer replied 1420 days and 20 hours ago.

Hi

 

The data is in cell B2

Accepted Answer

Picture
Expert:  John D replied 1420 days and 20 hours ago.

Ok,

 

Let's say you want to replace all carriage returns in that cell with dashes (i.e. - ), here is the formula for that:

 

=SUBSTITUTE(B2, CHAR(13), "-")

 

Now what you may have in that cell is in fact 'line feeds' and not 'carriage returns'. In that case use this formula:

 

=SUBSTITUTE(B2, CHAR(10), "-")

 

Hope this helps. Let me know if you have any questions.

 

Expert TypeBachelor of Science - Engineering Consultant
Category: Programming
Pos. Feedback: 98.6 %
Accepts: 5011
Answered: 6/18/2009

Experience: Vast experience in Excel programming and business solutions

Ask this Expert a Question >
 
Tweet

4 Programmers are Online Right Now

Ask Your Question Now
Programming Questions Date Submitted
I need to make a inventory program for CS 115. I've had a very 5/2/2013
I want to get into programming but have no prior experience. 5/2/2013
Street Light Verilog Code 5/1/2013
Based on your new found knowledge and experience in problem 4/30/2013
this is a GUI done in C# Create an application in which a 4/29/2013
I am trying to use vba to click a button on a webpage but can't 4/29/2013
For LogicPro only:Help with Java Programming project. 4/29/2013
Drink Machine SimulatorWrite a program that simulates a 4/28/2013
Implement a class Car with the following properties. A car 4/27/2013
***The Doctor***I purchased a web template and I am currently 4/27/2013
RSS
Next 10 >
Ask A Programmer
Type Your Programming Question Here...
characters left:

Top Programming Experts

See More Programmers

In The News

Nbc
Washington Post
New York Times
Cnn
Learn More

How It Works

  • Ask an Expert
  • Get a Professional Answer
  • Ask Followup Questions
  • 100% Satisfaction Guarantee
Learn More
close
Find Expert answers related to your question.
Sign up using email
We will never post anything without your permission.
Already have an account? Sign in

Ask a Programmer

Get a Professional Answer. 100% Satisfaction Guaranteed.
117 Programmers are Online Now
Type Your Programming Question Here...
characters left:
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.
Truste
Contact Us | Terms of Service | Privacy & Security | About Us | Our Network
© 2003-2013 JustAnswer LLC
  • Pearl.com
  • JustAnswer UK
  • JustAnswer Germany
  • JustAnswer Spanish
  • JustAnswer Japan