many numbers in one cell separated by hyphen.

G

Guest

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

JE McGimpsey

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.
 
J

Jason Morin

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
 
B

Bernie Deitrick

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

HTH,
Bernie
MS Excel MVP
 
G

Guest

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

"Bernie Deitrick" пишет:
 
J

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
-----Original Message-----
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

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top