Transposing select text from rows to columns

AndiH

New Member
Joined
Dec 3, 2009
Messages
41
I have a spreadsheet with rows of data which needs to be moved into columns next to a person's name. Example:

a1:John
a2:Birthdate
a3:Hiredate
a4:Mike
a5:Birthdate
a6:Hiredate

Result needed:
A1: John B1: Birthdate C1: Hiredate

I need to have have the birthdate and hiredates in columns next to the person's name. I cannot use VBA or macros. Excel 2007.

Thank you.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
If your column is a1:a12 then paste this formula in, say b15:

=INDEX($A$1:$A$12,2*(ROW(A1)-1)+ROW(A1),1)

and directly to the right:
=INDEX($A$1:$A$12,2*(ROW(A2)-2)+ROW(A2),1)

and directly to the right:
=INDEX($A$1:$A$12,2*(ROW(A3)-3)+ROW(A3),1)

copy down..........
 
Upvote 0
Almost -- I have different names with details all in one row. The result really needs to be
A1: John B1: Birthdate C1: Hiredate
A2: Mike B2: Birthdate C2: Hiredate

Am I asking too much? :)
 
Upvote 0
Upvote 0

Forum statistics

Threads
1,222,031
Messages
6,163,496
Members
451,839
Latest member
HonestZed

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top