Forum Discussion
ThomasEinolf
Jun 16, 2021Copper Contributor
Aligning Multiple Name Lists
I am trying to align a list of names and their corresponding values to each other. For example, here is what I am working with: Let's say I have a list of 15 names in column A, each with a number rel...
- Jun 16, 2021
ThomasEinolf That would be a piece of cake for Power Query (PQ), provided that the names in both data sets are spelled exactly the same. I noted that some names had a trailing space and other did not. Then, you need to create som extra steps in PQ.
Connect to both lists, do some cleaning up. Then merged the two (full outer).
See attached, in columns O:R. If you are not familiar with PQ, here's a good start:
Riny_van_Eekelen
Jun 16, 2021Platinum Contributor
ThomasEinolf Not sure what you mean, but you need to trim the names first to get rid of the trailing spaces. Then you merge the two tables by the Name columns, full outer. Then expand the mergered records.
ThomasEinolf
Jun 16, 2021Copper Contributor
Amazing! Worked perfectly! Thank you!