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 is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
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,522
Messages
6,120,025
Members
448,939
Latest member
Leon Leenders

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