How can I resort data form alternating Rows???

M

mike schmidt

My data is as such in a column
ax
34
dc
45
tt
12

How can I take data such as above and convert it to-

ax 34
dc 45
tt 12

I need to take data in alternating rows and put the "odd" data in one column
and the "even" data in the adjacent?

Thanks for any help!!
 
D

Dave Peterson

One way:
Put this in B1
=INDEX(A:A,(ROW()-1)*2+1,1)
put this in C1
=INDEX(A:A,(ROW()-1)*2+2,1)

Drag both down until you run out of data.

Select columns B and C and edit|copy, Edit|paste special|Values
delete column A.
 
M

mike schmidt

thanks
Dave Peterson said:
One way:
Put this in B1
=INDEX(A:A,(ROW()-1)*2+1,1)
put this in C1
=INDEX(A:A,(ROW()-1)*2+2,1)

Drag both down until you run out of data.

Select columns B and C and edit|copy, Edit|paste special|Values
delete column A.
 

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