final edit : added image of final workflow
Hi,
I’m almost giving up what looks like a simple task. Maybe you can help a newbie ?
I have a file like this
original table
CategoryA |
NameA |
CategoryB |
Name B |
Cat1 |
name1 |
Cat1 |
name1 |
Cat1 |
name2 |
cat2 |
oldname2 |
Cat2 |
oldname1 |
cat1 |
name2 |
Cat2 |
oldname2 |
cat2 |
oldname1 |
And a dictionary like this
Oldname (lookup reference) |
newname |
newcategory |
Oldname1 |
newname1 |
newCat2 |
Oldname2 |
newname2 |
newCat3 |
I need to change « oldname1 » to a specific new name, described in a dictionary (~500 entries) AND change its category to a new category name, to get a file like this:
destination table
CategoryA |
NameA |
CategoryB |
Name B |
Cat1 |
name1 |
Cat1 |
name1 |
Cat1 |
name2 |
newcat3 |
newname2 |
newCat2 |
newname1 |
cat1 |
name2 |
newCat3 |
newname2 |
newcat2 |
newname1 |
Also, I need to do this in ~40 pairs of columns (category A, category B and so on).
I can’t do it.
I tried to combine all columns and then do a “string replacer –dictionary”. Then I realised it does not work on string that are part of longer strings. For the same reason I can’t use cell replacer.
Also
Rule engine would need a terribly long rule to write, and then apply in a loop 40 times…seems awful. Worst part being the dictionary will be frequently updated.
Any ideas ? Any help greatly appreciated.
Thanks a lot,
alix