Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Formula for Carriage Returns

Hi,

Am trying to create a formula which inserts a carriage return at a specific
symbol in a text string. Is this possible?

Thanks,

EB
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Formula for Carriage Returns

="You owe us:" & char(10) & text(a1,"$#,##0.00")

Char(10) is the same as alt-enter when typing text.

Excel Believer wrote:

Hi,

Am trying to create a formula which inserts a carriage return at a specific
symbol in a text string. Is this possible?

Thanks,

EB


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Formula for Carriage Returns

Try something like this:

With
A1: The amount in US currency is $1,500.00.

This formula inserts a carriage return before the Dollar Sign:
E1: =SUBSTITUTE(A1,"$",CHAR(10)&"$")

Note_1: You'll need to expand the column width of Col_E and turn on text wrap.
Noe_2: 10 is the ASCII code for a carriage return.

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Excel Believer" wrote:

Hi,

Am trying to create a formula which inserts a carriage return at a specific
symbol in a text string. Is this possible?

Thanks,

EB

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Formula for Carriage Returns

Thanks to Ron and Dave. I'm working with German software and don't speak a
word (a part from ordering beer) so I'm sorry if I'm asking daft questions.

Thanks a million.

EB

"Ron Coderre" wrote:

Try something like this:

With
A1: The amount in US currency is $1,500.00.

This formula inserts a carriage return before the Dollar Sign:
E1: =SUBSTITUTE(A1,"$",CHAR(10)&"$")

Note_1: You'll need to expand the column width of Col_E and turn on text wrap.
Noe_2: 10 is the ASCII code for a carriage return.

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Excel Believer" wrote:

Hi,

Am trying to create a formula which inserts a carriage return at a specific
symbol in a text string. Is this possible?

Thanks,

EB

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 196
Default Formula for Carriage Returns

Hi

Maybe:

=REPLACE(A1,FIND("@",A1),0,CHAR(10))

Replace the @ with whatever the specific character is.

Hope this helps!

Richard


Excel Believer wrote:
Hi,

Am trying to create a formula which inserts a carriage return at a specific
symbol in a text string. Is this possible?

Thanks,

EB




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lookup Data in two seperate Spreadsheets Padraig Excel Worksheet Functions 6 June 28th 06 03:05 PM
formula returns (correctly) a negative value brit64 Excel Discussion (Misc queries) 5 September 19th 05 08:56 AM
sumif formula returns incorrect value modular_brian Excel Worksheet Functions 1 June 16th 05 10:29 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


All times are GMT +1. The time now is 12:45 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"