Forum

How to rearrange ce...
 
Notifications
Clear all

How to rearrange cell values in same row over different columns

5 Posts
2 Users
0 Reactions
101 Views
(@lawends)
Posts: 3
Active Member
Topic starter
 

Please see attache file.

In column H till L we have 5 different tags (Tag 1.2.3.4.and 5) . But often the tag value is the wrong column.

Everything in column H ( tag 1 ) is correct, but column I ( tag 2 ) should only have the values: "Video" and "Network". Any other value should move to tag 3, 4 or 5 depending on there value. 

See row 90 for a challenging example: we have the row in this order:

support supportexisting Network USGov

  But it should be in this order:

support Network USGov supportexisting

 

Which queries could I use to clean the files up and get the tags in the right order. And reuse on a monthly basis.

 

Thank in advance,

Laurens

 
Posted : 20/03/2019 3:36 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Laurens,

Please upload a sample Excel file that shows a few scenarios and the desired results so we can help you further.

Thanks,

Mynda

 
Posted : 20/03/2019 4:14 pm
(@lawends)
Posts: 3
Active Member
Topic starter
 

Hi Mynda,

sorry I thought a attached it. 2nd try and I included which value should go with which tag/column in the "tag values" tab.

A "raw file" tab and a "Sorted file" tab as example is also included. 

Thank you.

 
Posted : 21/03/2019 5:14 am
(@mynda)
Posts: 4761
Member Admin
 

Hi Laurens,

Please see file attached. Note: Networks was in two groups and the source data had USGov which wasn't in the tag list so I changed it to 'Government'.

Mynda

 
Posted : 21/03/2019 1:29 pm
(@lawends)
Posts: 3
Active Member
Topic starter
 

Wow, really awesome. Sorry that not all tags were included. Really interesting how you approached this. Very insightful. 

Thank you Mynda.

 
Posted : 22/03/2019 5:18 am
Share: