We help IT Professionals succeed at work.
Get Started

How to split the Last column values into multipe rows

vivekrautela asked
Last Modified: 2016-02-11
Hi All,

I've data that i've to import in CSV format. What i want to do is I want to split the values that are in column N under "Other Permissions" to multiple rows. so the values from Column A to Column M will remain same and the values under column N will come one by one in each row. I've attached the two CSV files for your ref.

Existing Ent Report.csv  --> The original CSV
Required Ent Report.csv --> The required format CSV.

The Data highlighted in yellow will remain same for all rows and the one highlighted in blue will get split up and come as one value for each row.

Please help how i can split the data using the script.

Watch Question
Top Expert 2015
This problem has been solved!
Unlock 2 Answers and 9 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE