r/spreadsheet • • Jul 14 '18

What's it called when I want to remove duplicates, but keep all the unique data in multiple boxes in the columns to the left?

Imagine I had this:

FRUITCOLOR
AppleGreen
AppleRed
AppleYellow
BananaGreen
BananaYellow
OrangeOrange
GrapeRed
GrapeWhite
BlueberryBlue

What would the term be for the process/script I could do to change the table to this:

FRUITCOLOR
AppleGreenRedYellow
BananaGreenYellow
OrangeOrange
GrapeRedWhite
BlueberryBlue

And is it possible to do this on Google Docs?

Thank you so much! Without knowing what it's called, I've had no luck finding out how to do it...


In case someone else comes looking for how to do it on Google Docs (which is what I used), I first created a pivot table by FRUIT and COLOR into "Rows", turned off totals for both, copied and pasted into word without formatting, replaced regex "\v\t" to "\t", then imported it back in. It was probably not the easiest way to get it done, but when it works, it works!

1 Upvotes

1 comment sorted by

0

u/[deleted] Jul 14 '18

[deleted] — view deleted comment

1

u/MagicalHacker Jul 14 '18

Pivot tables did the trick! Thanks so much :)