Transposing data with multiple fields

Jranchhod

Board Regular
Joined
Feb 9, 2009
Messages
56
Good day

Please can I ask for assistance.

I would like to transpose data I have client information in row format

NameSurnameHomeWork
Cell
JetashAmith101 205 1256
525 962 3568395 886 9135

<colgroup><col width="46" style="width: 35pt; mso-width-source: userset; mso-width-alt: 1682;"><colgroup><col width="62" style="width: 47pt; mso-width-source: userset; mso-width-alt: 2267;"><colgroup><col width="128" style="width: 96pt; mso-width-source: userset; mso-width-alt: 4681;"><colgroup><col width="89" style="width: 67pt; mso-width-source: userset; mso-width-alt: 3254;"><colgroup><col width="83" style="width: 62pt; mso-width-source: userset; mso-width-alt: 3035;"><tbody>
</tbody>

I would like to transpose the information to the following

NameSurnameTelephone numberNumber type
JetashAmith101 205 1256Home
JetashAmith525 962 3568Work
JetashAmith
395 886 9135Cell
<colgroup><col width="212" style="width: 159pt; mso-width-source: userset; mso-width-alt: 7753;" span="4"> <tbody> </tbody>

Please can I ask for assistance

Thank you


Jetash
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
try PowerQuery (Get&Transform)

NameSurnameHomeWorkCellNameSurnameTelephone NumberNumber Type
JetashAmith101 205 1256525 962 3568395 886 9135JetashAmith101 205 1256Home
JetashAmith525 962 3568Work
JetashAmith395 886 9135Cell

Code:
[SIZE=1]let
    Source = Excel.CurrentWorkbook(){[Name="Table3"]}[Content],
    #"Unpivoted Other Columns" = Table.UnpivotOtherColumns(Source, {"Name", "Surname"}, "Attribute", "Value"),
    #"Reordered Columns" = Table.ReorderColumns(#"Unpivoted Other Columns",{"Name", "Surname", "Value", "Attribute"}),
    #"Renamed Columns" = Table.RenameColumns(#"Reordered Columns",{{"Value", "Telephone Number"}, {"Attribute", "Number Type"}})
in
    #"Renamed Columns"[/SIZE]
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,733
Members
448,987
Latest member
marion_davis

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