How to Clean and organize data scattered across a sheet into a single column

ammykhan

Board Regular
Joined
Apr 23, 2022
Messages
54
Office Version
  1. 2021
Platform
  1. Windows
Employee Details​
EID Number784-1993-0510862-9784-1989-9675912-1
784-1999-1456913-4
784-1990-3515862-4784-2001-5675912-3784-1995-7456328-7
784-1991-3315666-8784-1997-5945912-5784-1992-1214627-9
784-1995-3545342-1784-1997-4945342-7784-1996-4954317-4
 

Attachments

  • image_2022-07-05_212709471.png
    image_2022-07-05_212709471.png
    137 KB · Views: 4
Last edited:

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.
Unpivot your data using Power Query/Get and Transform. Found on the Data Tab

Power Query:
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Unpivoted Only Selected Columns" = Table.Unpivot(Source, {"Column1", "Column2", "Column3", "Column4", "Column5", "Column6", "Column7", "Column8", "Column9"}, "Attribute", "Value"),
    #"Removed Columns" = Table.RemoveColumns(#"Unpivoted Only Selected Columns",{"Attribute"})
in
    #"Removed Columns"

Book1
ABCDEFGHI
1Column1Column2Column3Column4Column5Column6Column7Column8Column9
2784-1993-0510862-9784-1989-9675912-1
3784-1999-1456913-4
4784-1990-3515862-4784-2001-5675912-3784-1995-7456328-7
5784-1991-3315666-8784-1997-5945912-5784-1992-1214627-9
6
7784-1995-3545342-1784-1997-4945342-7784-1996-4954317-4
8
9
10Value
11784-1993-0510862-9
12784-1989-9675912-1
13784-1999-1456913-4
14784-1990-3515862-4
15784-2001-5675912-3
16784-1995-7456328-7
17784-1991-3315666-8
18784-1997-5945912-5
19784-1992-1214627-9
20784-1995-3545342-1
21784-1997-4945342-7
22784-1996-4954317-4
Sheet1
 
Upvote 0
Solution

Forum statistics

Threads
1,214,979
Messages
6,122,550
Members
449,088
Latest member
davidcom

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