Forum Discussion
MykytYla
2 years agoFrequent Visitor
How to compare 2 cells text with delimiter and demonstrate difference?
Please, I need your tips.
I have two grouped columns in one table.
How can I compare it and demonstrate the difference? Power Query solution.
I've found VBA but in power query can not đ
Colors Set A Colors Set B Result A to B Result B to A
| A | B | Result A to B | Result B to A |
| red;blue;green | yellow;purple;red | blue;green | yellow;purple |
| white;green;red | yellow;red | white;green | yellow |
Text.Combine(
List.Difference(
Text.Split([A],";"),
Text.Split([B],";")),
";#(lf)"))Stéphane
4 Replies
- MykytYlaFrequent Visitor
can I get cells with text in new line?
A B Result A to B Result B to A red;blue;green yellow;purple;red blue;
green
yellow;
purple
white;green;red yellow;red;purple white;
green
yellow;
purple
- slorin
Super User
Text.Combine(
List.Difference(
Text.Split([A],";"),
Text.Split([B],";")),
";#(lf)"))Stéphane