I have a question for advanced Excel users that none of the AI applications were able to help me with.

iccy123

New Member
Joined
Aug 12, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I am trying to create a formula or something with VBA to help me sort five columns of data.

I’ll briefly explain – I use video games to learn languages, and I’m trying to create a multi-subtitle system for Baldur’s Gate 3. The text is organized via Content UIDs (for all languages). Unfortunately, in each language file the UIDs are not ordered the same, so I am unable to sort and align them to combine them into one cell.

Here is an example of the cells and the UIDs:

<content contentuid="h000006d4gcefbg4092gbb39gfeb27a3bb0a7" version="1">Sorry, darling, I haven't got time for underlings.</content>

<content contentuid="h000006d4gcefbg4092gbb39gfeb27a3bb0a7" version="1">抱歉,亲爱的,我可没时间搭理下属。</content>

<content contentuid="h000006d4gcefbg4092gbb39gfeb27a3bb0a7" version="1">Lo siento, cielo, no tengo tiempo para subordinados.</content>

<content contentuid="h000006d4gcefbg4092gbb39gfeb27a3bb0a7" version="1">Прости, моя радость, со слугами не разговариваю.</content>

<content contentuid="h000006d4gcefbg4092gbb39gfeb27a3bb0a7" version="1">Désolé, très cher, je n'ai pas de temps à perdre avec les sous-fifres.</content>

And here is what I want it to look like :

<content contentuid="h000006d4gcefbg4092gbb39gfeb27a3bb0a7" version="1">Sorry, darling, I haven't got time for underlings. || RU: Извините, дорогая, у меня нет времени для подчиненных. || ES: Lo siento, cariño, no tengo tiempo para los subordinados. || FR: Désolé, chérie, je n'ai pas le temps pour les subalternes. || ZH: 抱歉,亲爱的,我没有时间的下降时间。</content>

There are over 200,000 of these lines of dialogue. My question - is there any way to have the other four columns (B-E) align in order using Column A as a reference using the unique UIDs?

Here is an example Google Sheet of what it currently looks like (and want I want it to look like):


Hopefully someone knows how to do this, because AI is not up to the task yet!
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: I have a question for advanced Excel users that none of the AI applications were able to h
There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,223,889
Messages
6,175,223
Members
452,620
Latest member
dsubash

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top