Duplicate row data and transfer to column

saundersxvi

New Member
Joined
Apr 17, 2019
Messages
3
Hello,
I've got a txt file with over 200+ entries that I want to convert into a table. How is it possible to have data formatted as the following:

Name: Tom
Age: 23

Name: Harry
Age: 82

Into the following

Name:Age:
Tom23
Harry82

<tbody>
</tbody>

I tried data import but kept getting the Name and age repeated, which doesn't help.

Thanking you in advance.

David
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Is Name and Tom in the same cell ?
Same with age ??
Is that all the data for each person ?
 
Upvote 0
Hi Michael,

'Name' and 'Tom' are in different cells. 'Name' would be the header cell. Same with age.

There's over 200 names in the txt file with over 25+ questions asked per person. I simplified the txt and table to save space.

David
 
Upvote 0
So, what happens with the 25+ Q&A ??
Can you upload the file to DropBox and post a link back here ??
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,922
Messages
6,122,281
Members
449,075
Latest member
staticfluids

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