Matching a number sequence within a group of numbers in a cell

Joined
Feb 1, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I have two columns of groups of numbers separated by a comma (but this delimiter can be changed) and I need to compare one column/cell against the other to identify changes.

Column C in the image (or first column in table) below is the original listing of these numbers and column D/second is the new updated list which may have new number sequences added or some removed. Is it possible to search and compare against the adjacent column (ie A1 to B1, A2 to B2) and return the missing number to a new cell? The original data in some cases will have more groups of number and in some cases have less (and the same for the Updated Data values) so will need to be compared in either direction (ie A1 to B1 then B1 to A1)

I have about 300 lines of data to compare and some of these cells have over 100 groups of numbers.

ie For the fourth row, value 2/44554 is unique to the Orignal Data column (missing from Updated Data) and I need a way to identify this value.

Original DataUpdated Data
1/12820911/1282091
127/756396, 50/756444, 1/1037940, 51/756444127/756396, 50/756444, 1/1037940, 51/756444
9/113903, 3/1282091, 8/113903, 15/756400, 4/1282091, 6/1282091, 61/756396, 14/756400, 44/756396, 3/1274586, 43/756396, 6/594041, 6/113903, 48/756396, 62/756396, 42/756396, 45/756396, 47/756396, 5/1282091, 7/594041, 46/756396, 60/756396, 2/4455414/756400, 42/756396, 62/756396, 3/1282091, 8/113903, 61/756396, 60/756396, 44/756396, 6/594041, 4/1282091, 15/756400, 43/756396, 47/756396, 6/1282091, 48/756396, 6/113903, 3/1274586, 46/756396, 9/113903, 45/756396, 5/1282091, 7/594041
111/756396, 108/756396, 96/756396, 97/756396, 110/756396, 109/756396111/756396, 108/756396, 96/756396, 97/756396, 110/756396, 109/756396
8/532988, 2/532988, 6/532988, 9/532988, 3/532988, 1/532988, 4/532988, 5/532988, 7/5329888/532988, 2/532988, 6/532988, 9/532988, 3/532988, 1/532988, 4/532988, 5/532988, 7/532988

Is this an impossible dream? Hoping not to have to resort to text to columns and sorting.

Thanks so much!
 

Attachments

  • Excel example.png
    Excel example.png
    30.6 KB · Views: 9

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Hi, welcome to the forum! Something like this maybe? If not, try to post sample data that is a bit more varied and include a column(s) with the expected results.

Book1
ABCD
1Original DataUpdated DataMissing from UpdatedNew to Updated
21/12820911/1282091  
3127/756396, 50/756444, 1/1037940, 51/756444127/756396, 50/756444, 1/1037940, 51/756444  
49/113903, 3/1282091, 8/113903, 15/756400, 4/1282091, 6/1282091, 61/756396, 14/756400, 44/756396, 3/1274586, 43/756396, 6/594041, 6/113903, 48/756396, 62/756396, 42/756396, 45/756396, 47/756396, 5/1282091, 7/594041, 46/756396, 60/756396, 2/4455414/756400, 42/756396, 62/756396, 3/1282091, 8/113903, 61/756396, 60/756396, 44/756396, 6/594041, 4/1282091, 15/756400, 43/756396, 47/756396, 6/1282091, 48/756396, 6/113903, 3/1274586, 46/756396, 9/113903, 45/756396, 5/1282091, 7/5940412/44554 
5111/756396, 108/756396, 96/756396, 97/756396, 110/756396, 109/756396111/756396, 108/756396, 96/756396, 97/756396, 110/756396, 109/756396  
68/532988, 2/532988, 6/532988, 9/532988, 3/532988, 1/532988, 4/532988, 5/532988, 7/5329888/532988, 2/532988, 6/532988, 9/532988, 3/532988, 1/532988, 4/532988, 5/532988, 7/532988  
78/532988, 2/532988, C/TEST, 6/532988, 9/532988, 3/532988, 1/532988, 4/532988, 5/532988, 7/532988, D/TESTA/TEST, B/TEST, 8/532988, 2/532988, 6/532988, 9/532988, 3/532988, 1/532988, G/TEST, 4/532988, 5/532988, 7/532988C/TEST, D/TESTA/TEST, B/TEST, G/TEST
Sheet1
Cell Formulas
RangeFormula
C2:C7C2=TEXTJOIN(", ",TRUE,FILTER(TEXTSPLIT(A2,", "),ISNA(MATCH(TEXTSPLIT(A2,", "),TEXTSPLIT(B2,", "),0)),""))
D2:D7D2=TEXTJOIN(", ",TRUE,FILTER(TEXTSPLIT(B2,", "),ISNA(MATCH(TEXTSPLIT(B2,", "),TEXTSPLIT(A2,", "),0)),""))
 
Upvote 0

Forum statistics

Threads
1,224,813
Messages
6,181,115
Members
453,021
Latest member
Justyna P

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