Hi all,
I'm hoping someone can help me! I'm working with some data where each cell contains multiple entries (which are unique references). Essentially I want to compare A2 and B2 to show how many entries should still be live. I can get a numerical view of this in C2 by using =(LEN(TRIM(A2-LEN(SUBSTITUTE(TRIM(A2",",""))+1)-(LEN(TRIM(B2-LEN(SUBSTITUTE(TRIM(B2),",",""))+1) but what I'd like to do is show which references remain to save the end users having to go through the detail manually.
I've found multiple ways of removing duplicates (after concatenating A2 & B2) but can't work out how to remove both the duplicate entries and the originals. What I'd like to see as my end result in D2 would be 12347, 12348, 12349, 12350.
The original values are separated by a comma and space but the space could be removed if necessary (I was playing around with a TRIM & SUBSTITUTE nesting for this).
[TABLE="width: 312"]
<colgroup><col width="258" style="width: 194pt; mso-width-source: userset; mso-width-alt: 9435;"> <col width="84" style="width: 63pt; mso-width-source: userset; mso-width-alt: 3072;"> <col width="73" style="width: 55pt; mso-width-source: userset; mso-width-alt: 2669;"> <tbody>[TR]
[TD="class: xl63, width: 258, bgcolor: transparent"][TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Logged[/TD]
[TD]Closed[/TD]
[TD]Remaining[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]12345, 12346, 12347, 12348, 12349, 12350[/TD]
[TD]12345, 12346[/TD]
[TD][TABLE="width: 73"]
<tbody>[TR]
[TD]4[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="class: xl63, bgcolor: transparent"][/TD]
[/TR]
</tbody>[/TABLE]
I'm hoping someone can help me! I'm working with some data where each cell contains multiple entries (which are unique references). Essentially I want to compare A2 and B2 to show how many entries should still be live. I can get a numerical view of this in C2 by using =(LEN(TRIM(A2-LEN(SUBSTITUTE(TRIM(A2",",""))+1)-(LEN(TRIM(B2-LEN(SUBSTITUTE(TRIM(B2),",",""))+1) but what I'd like to do is show which references remain to save the end users having to go through the detail manually.
I've found multiple ways of removing duplicates (after concatenating A2 & B2) but can't work out how to remove both the duplicate entries and the originals. What I'd like to see as my end result in D2 would be 12347, 12348, 12349, 12350.
The original values are separated by a comma and space but the space could be removed if necessary (I was playing around with a TRIM & SUBSTITUTE nesting for this).
[TABLE="width: 312"]
<colgroup><col width="258" style="width: 194pt; mso-width-source: userset; mso-width-alt: 9435;"> <col width="84" style="width: 63pt; mso-width-source: userset; mso-width-alt: 3072;"> <col width="73" style="width: 55pt; mso-width-source: userset; mso-width-alt: 2669;"> <tbody>[TR]
[TD="class: xl63, width: 258, bgcolor: transparent"][TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Logged[/TD]
[TD]Closed[/TD]
[TD]Remaining[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]12345, 12346, 12347, 12348, 12349, 12350[/TD]
[TD]12345, 12346[/TD]
[TD][TABLE="width: 73"]
<tbody>[TR]
[TD]4[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="class: xl63, bgcolor: transparent"][/TD]
[/TR]
</tbody>[/TABLE]