Solved

Excel find and replace that contains carriage returns

Posted on 2013-10-24
14
217 Views
Last Modified: 2013-10-24
Hi guys,

In my cells I have the following data:

Key Features:
 - Setting 1
 - Setting 2
 - Setting 3
 - Setting 4

I need each cell to just contain:

<br />Setting 1
<br />Setting 2
<br />Setting 3
<br />Setting 4


There are carriage returns between the lines.

Cheers,
Dean
0
Comment
Question by:deanlee17
  • 7
  • 7
14 Comments
 
LVL 23

Expert Comment

by:NBVC
Comment Utility
I am not sure I understand the request.

Are all of these in one cell?

 - Setting 1
 - Setting 2
 - Setting 3
 - Setting 4

are you just looking to replace the - with <br/>?
0
 

Author Comment

by:deanlee17
Comment Utility
Sorry, Yes its all in the same cell.
0
 
LVL 23

Expert Comment

by:NBVC
Comment Utility
So you tried replacing the dash with <br/>?
0
 

Author Comment

by:deanlee17
Comment Utility
Some of the settings contain a dash..

- this is the settting 32 - 31
0
 
LVL 23

Expert Comment

by:NBVC
Comment Utility
Maybe then replace this:

- S

with

<br/>S

ie. include the S
0
 

Author Comment

by:deanlee17
Comment Utility
Ok sorry I realise I wasn't clear, here is a real copy of the data:

Key Features
- Heat Settings - Variable
- Control - Manual control
- Flame Control Options - Can be used independent of heat
- Thermostat - Yes
- Spacer Frame - Included allowing fire to be fitted flat to wall
- Flame Effect - Glowing log bed
- Colour Finish - Available in chrome and black
- Fuel Bed - Log
- Max Output - 2.0 kw

So I kinda need to search for '<carriage return> - '
0
 
LVL 23

Expert Comment

by:NBVC
Comment Utility
Ok,    In the FIND What field:  hold down the ALT key, then type the carriage return code (e.g. 010) using the number pad on your keyboard.
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

by:deanlee17
Comment Utility
Ok I press tab and cursor stops flashing, type '0' and I get the error tone, then it types '10'
0
 
LVL 23

Expert Comment

by:NBVC
Comment Utility
You need to hold the ALT key down and while holding it down type 010.  You should see what appears to be a space.
0
 

Author Comment

by:deanlee17
Comment Utility
Nope, doesn't work for me. Using office 2010 professional plus, if that helps.
0
 
LVL 23

Expert Comment

by:NBVC
Comment Utility
Can you post a workbook showing a sampling with the carriage returns in place.
0
 

Author Comment

by:deanlee17
Comment Utility
Yes sure, see attached
sheet.xlsx
0
 
LVL 23

Accepted Solution

by:
NBVC earned 500 total points
Comment Utility
Ok, maybe it's easier to do it this way....

in B2 add formula:

=SUBSTITUTE(A2,CHAR(10),"<br/>")

copied down.

then you can copy this column and paste special >> values over the original column.  Then delete the formula column.
0
 

Author Comment

by:deanlee17
Comment Utility
Perfect, thanks.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

In case Office 2010 has not been deployed in your environment, this article may be quite useful. In our office, we wanted a way to deploy Microsoft Office Professional Plus 2010 through an automated batch file via logon script. This article is docum…
No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now