A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Pulling Multiple Text Strings in a One Cell



 
 
Thread Tools Display Modes
  #1  
Old April 17th, 2010, 12:10 AM posted to microsoft.public.excel.misc
RebLan
external usenet poster
 
Posts: 3
Default Pulling Multiple Text Strings in a One Cell

Okay....this is what i need help on. These multiple lines in one cell is
throwing me off. If i make the multiple lines appear as a single text string
in one cell, i still have spacing issues.

(A1)

ATM ID: Example
Project ID: 12345
Project Name: HELP
Site Name: Company Name
Model: 2345e EF
SN: Not Assigned

I need it to look like this all in one cell, due to a system upload.

ATM ID: Example**Project ID: 12345**Project Name: HELP**Site Name: Company
Name**Model: 2150e EF**SN: Not Assigned

Please HELP!!!

Thanks



  #2  
Old April 17th, 2010, 01:04 AM posted to microsoft.public.excel.misc
Ron@Buy
external usenet poster
 
Posts: 348
Default Pulling Multiple Text Strings in a One Cell

Try:
=LEFT(A1,15)&"* *"&MID(A1,16,17)&"* *"&MID(A1,34,19)&"* *"&MID(A1,53,25)&"*
*"&MID(A1,85,18)&"* *"&RIGHT(A1,16)


"RebLan" wrote:

Okay....this is what i need help on. These multiple lines in one cell is
throwing me off. If i make the multiple lines appear as a single text string
in one cell, i still have spacing issues.

(A1)

ATM ID: Example
Project ID: 12345
Project Name: HELP
Site Name: Company Name
Model: 2345e EF
SN: Not Assigned

I need it to look like this all in one cell, due to a system upload.

ATM ID: Example**Project ID: 12345**Project Name: HELP**Site Name: Company
Name**Model: 2150e EF**SN: Not Assigned

Please HELP!!!

Thanks



  #3  
Old April 17th, 2010, 01:07 AM posted to microsoft.public.excel.misc
Dave Peterson
external usenet poster
 
Posts: 19,791
Default Pulling Multiple Text Strings in a One Cell

Select the range to fix (at least two cells)
Edit|Replace (in xl2003 menus)
what: ctrl-j (hold the control key while you hit the j key)
(It may not look like anything was entered, but trust it!)
with: **
Replace all
(Make sure that the options are set correctly, too.)

And then widen the column to see if it worked like you want.

RebLan wrote:

Okay....this is what i need help on. These multiple lines in one cell is
throwing me off. If i make the multiple lines appear as a single text string
in one cell, i still have spacing issues.

(A1)

ATM ID: Example
Project ID: 12345
Project Name: HELP
Site Name: Company Name
Model: 2345e EF
SN: Not Assigned

I need it to look like this all in one cell, due to a system upload.

ATM ID: Example**Project ID: 12345**Project Name: HELP**Site Name: Company
Name**Model: 2150e EF**SN: Not Assigned

Please HELP!!!

Thanks


--

Dave Peterson
  #4  
Old April 17th, 2010, 03:49 PM posted to microsoft.public.excel.misc
RebLan
external usenet poster
 
Posts: 3
Default Pulling Multiple Text Strings in a One Cell

This formula works for the most part for my example, but keep in mind the
information will change. The info that will stay constant is ATM ID: Project
Name: , Site Name: ,Model:, SN:. However, the rest of the info will
change...so I don't think I can use this type of formula that counts number
of characters. Is there a way to FIND the text which will be constant such as
PROJECT ID: and add ** to the left of the word PROJECT? Then add on to the
formula to find Project Name: , Site Name: ,Model:,SN: and add ** to the left
of those words?

"Ron@Buy" wrote:

Try:
=LEFT(A1,15)&"* *"&MID(A1,16,17)&"* *"&MID(A1,34,19)&"* *"&MID(A1,53,25)&"*
*"&MID(A1,85,18)&"* *"&RIGHT(A1,16)


"RebLan" wrote:

Okay....this is what i need help on. These multiple lines in one cell is
throwing me off. If i make the multiple lines appear as a single text string
in one cell, i still have spacing issues.

(A1)

ATM ID: Example
Project ID: 12345
Project Name: HELP
Site Name: Company Name
Model: 2345e EF
SN: Not Assigned

I need it to look like this all in one cell, due to a system upload.

ATM ID: Example**Project ID: 12345**Project Name: HELP**Site Name: Company
Name**Model: 2150e EF**SN: Not Assigned

Please HELP!!!

Thanks



  #5  
Old April 19th, 2010, 03:41 PM posted to microsoft.public.excel.misc
RebLan
external usenet poster
 
Posts: 3
Default Pulling Multiple Text Strings in a One Cell

Dave,
This was an easy fix. Thanks so much!

"Dave Peterson" wrote:

Select the range to fix (at least two cells)
Edit|Replace (in xl2003 menus)
what: ctrl-j (hold the control key while you hit the j key)
(It may not look like anything was entered, but trust it!)
with: **
Replace all
(Make sure that the options are set correctly, too.)

And then widen the column to see if it worked like you want.

RebLan wrote:

Okay....this is what i need help on. These multiple lines in one cell is
throwing me off. If i make the multiple lines appear as a single text string
in one cell, i still have spacing issues.

(A1)

ATM ID: Example
Project ID: 12345
Project Name: HELP
Site Name: Company Name
Model: 2345e EF
SN: Not Assigned

I need it to look like this all in one cell, due to a system upload.

ATM ID: Example**Project ID: 12345**Project Name: HELP**Site Name: Company
Name**Model: 2150e EF**SN: Not Assigned

Please HELP!!!

Thanks


--

Dave Peterson
.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:33 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.