Quantcast
Viewing all articles
Browse latest Browse all 14155

Transformation (columns into lines) of large table

I'm trying to deal with a problem at work where I need to transform a large table (950+ columns) all into lines. There are 2 caveats here:i) I want to add the "date" and "product#" to the beggining of each series at column A and B;ii) the data have 4 different analysis, lets say A, B, C, and D. I want to copy the data from A to D (starting from column F) and move it to column C (right below the first A analysis).

So would this data transformation be doable? Or I will need to brute force it copy+paste? Added an image of how the date is now, and what I would like it to be.

https://imgur.com/a/xNHhe1L

Thanks! Really appreciate the help.

I did a rought code at python to find the string "A" and copy everything below it for the next 4 cells, but I'm struggling to have it pasted below the other data.

Also, I have no clue on how to have the data labels beside the new copied data.


Viewing all articles
Browse latest Browse all 14155

Trending Articles



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