thestranger66
New Member
- Joined
- Nov 11, 2015
- Messages
- 22
Hello,
I am trying to come up with a function that compares two delimited lists to see if they are made up of the same values. Each list is in its own cell, can be variable length, and can have variable order. I'll give a few examples of inputs and outputs to display what I am trying to accomplish with my worksheet function below.
The best I've been able to come up with so far is to use a series of helper columns that returns individual values from each list so that they can be individually counted, but this isn't ideal since the lists can be around 8 items long and performance is an important factor for this solution. Thanks in advance to anyone who take the time to think through this.
-Steve
I am trying to come up with a function that compares two delimited lists to see if they are made up of the same values. Each list is in its own cell, can be variable length, and can have variable order. I'll give a few examples of inputs and outputs to display what I am trying to accomplish with my worksheet function below.
List 1 | List 2 | Output |
A; B | A | F |
A; B; 1 | A; B | F |
A | A; B | F |
B; A | A; B | T |
A; B | A; B | T |
The best I've been able to come up with so far is to use a series of helper columns that returns individual values from each list so that they can be individually counted, but this isn't ideal since the lists can be around 8 items long and performance is an important factor for this solution. Thanks in advance to anyone who take the time to think through this.
-Steve