Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9787

Converting columns into rows with different values

$
0
0

I have a CSV file with 16 columns.

The first 10 (A-J) are contact information, the last 6 are different phone numbers, sometimes for the same contact.

My objective is to create duplicates of the first 10 columns with the new 11th column (K labeled PHONE) representing one phone number from the last 6 columns.

I am looking to keep all values from A to J as is in their own columns (no merging)Value in column K should have only one phone number.

Here is a link to a sample of data with “before”: what the original sheet was and “after” an example of what the result should look like.


Viewing all articles
Browse latest Browse all 9787

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>