Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
baju
 
Posts: n/a
Default many numbers in one cell separated by hyphen.

Many numbers in one cell separated by hyphen. How to put them in separate
rows of one column?

  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

one way:

Choose Data/Text to Columns. Select the Delimited radio button and
choose Next. Enter a hyphen in the "Other" field, then click Finish.




In article ,
"baju" wrote:

Many numbers in one cell separated by hyphen. How to put them in separate
rows of one column?

  #3   Report Post  
Jason Morin
 
Posts: n/a
Default

I would say the quickest way is to select the column and
do Data Text to Columns, using "-" as your delimiter.
Then select the data, copy it, and Edit Paste Special
Transpose.

HTH
Jason
Atlanta, GA

-----Original Message-----
Many numbers in one cell separated by hyphen. How to

put them in separate
rows of one column?

.

  #4   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

And then choose the resulting values, copy, then paste-special transpose to
get them into a column.

HTH,
Bernie
MS Excel MVP

"JE McGimpsey" wrote in message
...
one way:

Choose Data/Text to Columns. Select the Delimited radio button and
choose Next. Enter a hyphen in the "Other" field, then click Finish.




In article ,
"baju" wrote:

Many numbers in one cell separated by hyphen. How to put them in

separate
rows of one column?



  #5   Report Post  
baju
 
Posts: n/a
Default

There are too many numbers (more than 256) to put them in columns first.

"Bernie Deitrick" пишет:

And then choose the resulting values, copy, then paste-special transpose to
get them into a column.

HTH,
Bernie
MS Excel MVP

"JE McGimpsey" wrote in message
...
one way:

Choose Data/Text to Columns. Select the Delimited radio button and
choose Next. Enter a hyphen in the "Other" field, then click Finish.




In article ,
"baju" wrote:

Many numbers in one cell separated by hyphen. How to put them in

separate
rows of one column?






  #6   Report Post  
Jason Morin
 
Posts: n/a
Default

OK, try this. Assuming your value is in A1.

1. Put this in A2 and copy down until you get an error=20
value:

=3DRIGHT(A1,LEN(A1)-FIND("-",A1))

2. Put this in B1 and fill all the way down:

=3DIF(ISERROR(FIND("-",A1)),A1,LEFT(A1,FIND("-",A1)-1))

HTH
Jason
Atlanta, GA

-----Original Message-----
There are too many numbers (more than 256) to put them=20

in columns first.

"Bernie Deitrick" =D0=BF=D0=B8=D1^=D0=B5=D1,:

And then choose the resulting values, copy, then paste-

special transpose to
get them into a column.
=20
HTH,
Bernie
MS Excel MVP
=20
"JE McGimpsey" wrote in message
news:jemcgimpsey-

...
one way:

Choose Data/Text to Columns. Select the Delimited=20

radio button and
choose Next. Enter a hyphen in the "Other" field,=20

then click Finish.




In article <CA641783-057C-4AC2-BFD3-

,
"baju" wrote:

Many numbers in one cell separated by hyphen. How =20

to put them in
separate
rows of one column?

=20
=20
=20

.

  #7   Report Post  
baju
 
Posts: n/a
Default

Thank you, that works.

"Jason Morin" пишет:

OK, try this. Assuming your value is in A1.

1. Put this in A2 and copy down until you get an error
value:

=RIGHT(A1,LEN(A1)-FIND("-",A1))

2. Put this in B1 and fill all the way down:

=IF(ISERROR(FIND("-",A1)),A1,LEFT(A1,FIND("-",A1)-1))

HTH
Jason
Atlanta, GA


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
How do I format a cell so that only specific numbers can be enter. Jim Excel Discussion (Misc queries) 1 February 1st 05 04:51 PM
Sum cell numbers that have certain text within the cell Carole Excel Worksheet Functions 7 January 27th 05 06:25 PM
Averaging Numbers when 2 numbers in one cell Ourania Excel Worksheet Functions 8 January 12th 05 06:40 PM
Paste rows of numbers from Word into single Excel cell BecG Excel Discussion (Misc queries) 1 December 8th 04 04:55 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 07:31 AM.

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

About Us

"It's about Microsoft Excel"