Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
mrl mrl is offline
external usenet poster
 
Posts: 17
Default text to columns - break by delimiter

I have a list of options in one column.

Options
1,2,45
1,981
etc.

When i use text to column and break by a comma, it won't break the 1,981
because it reads that as the thousand separator.
Is there a way to reformat the original column - without loosing the comma?
or is there a way to get the text to column to recognize that column?

Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,533
Default text to columns - break by delimiter

Hi

Replace "," with ";" using "Find/Replace" and then apply "Text to Columns"

Regards,
Per

"mrl" skrev i meddelelsen
...
I have a list of options in one column.

Options
1,2,45
1,981
etc.

When i use text to column and break by a comma, it won't break the 1,981
because it reads that as the thousand separator.
Is there a way to reformat the original column - without loosing the
comma?
or is there a way to get the text to column to recognize that column?

Thanks!


  #3   Report Post  
Posted to microsoft.public.excel.misc
mrl mrl is offline
external usenet poster
 
Posts: 17
Default text to columns - break by delimiter

When I do that it won't replace the comma in the 1,981 Is there a way to get
it to recognize that comma?

"Per Jessen" wrote:

Hi

Replace "," with ";" using "Find/Replace" and then apply "Text to Columns"

Regards,
Per

"mrl" skrev i meddelelsen
...
I have a list of options in one column.

Options
1,2,45
1,981
etc.

When i use text to column and break by a comma, it won't break the 1,981
because it reads that as the thousand separator.
Is there a way to reformat the original column - without loosing the
comma?
or is there a way to get the text to column to recognize that column?

Thanks!



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,533
Default text to columns - break by delimiter

Use a helper column and enter this formula

=TEXT(J29,"#¤###")

then copy the helper column and go to Edit Paste Special Values Ok

Replace "¤" with ";"

Regards,
Per

"mrl" skrev i meddelelsen
...
When I do that it won't replace the comma in the 1,981 Is there a way to
get
it to recognize that comma?

"Per Jessen" wrote:

Hi

Replace "," with ";" using "Find/Replace" and then apply "Text to
Columns"

Regards,
Per

"mrl" skrev i meddelelsen
...
I have a list of options in one column.

Options
1,2,45
1,981
etc.

When i use text to column and break by a comma, it won't break the
1,981
because it reads that as the thousand separator.
Is there a way to reformat the original column - without loosing the
comma?
or is there a way to get the text to column to recognize that column?

Thanks!




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,069
Default text to columns - break by delimiter

Instead of ¤ you can put a comma and it still works:

=TEXT(J29,"#,###")

Then all your data will be comma-delimited. If you have larger numbers (with
more commas needed), you can expand the TEXT function format argument:

=TEXT(A13,"#,###,###")

Thanks for the tip, Per. I thought of using TEXT but didn't quite figure it
out.

Hutch

"Per Jessen" wrote:

Use a helper column and enter this formula

=TEXT(J29,"#¤###")

then copy the helper column and go to Edit Paste Special Values Ok

Replace "¤" with ";"

Regards,
Per

"mrl" skrev i meddelelsen
...
When I do that it won't replace the comma in the 1,981 Is there a way to
get
it to recognize that comma?

"Per Jessen" wrote:

Hi

Replace "," with ";" using "Find/Replace" and then apply "Text to
Columns"

Regards,
Per

"mrl" skrev i meddelelsen
...
I have a list of options in one column.

Options
1,2,45
1,981
etc.

When i use text to column and break by a comma, it won't break the
1,981
because it reads that as the thousand separator.
Is there a way to reformat the original column - without loosing the
comma?
or is there a way to get the text to column to recognize that column?

Thanks!





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
Split text into multiple columns using a common delimiter buffgirl71 Excel Discussion (Misc queries) 4 May 21st 23 07:43 PM
Sum / count data from text string with delimiter J Excel Worksheet Functions 7 February 21st 07 10:52 PM
using CSV to break up text into multiple columns Deena at DCH FD Excel Discussion (Misc queries) 5 June 29th 06 02:59 AM
Need Help Importing Text File Using Two or More Spaces as the Delimiter [email protected] Excel Discussion (Misc queries) 11 June 13th 06 02:08 AM
export excel file as csv with text delimiter of " John Excel Discussion (Misc queries) 2 May 12th 05 05:50 PM


All times are GMT +1. The time now is 11:47 PM.

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"