Good day. Please help me find the right direction for the implementation of my task, which is as follows:
There are 2 lists. The first is an excel spreadsheet, the second is a txt file. In the first list there are several parameters: city, index, name. In the second list, only the city. The city parameter in the first and second lists is written differently: in the first, each city is listed in its cell in the excel file (index and name, respectively, too, each in its cell), in the second, all cities are comma-separated with a different register .
What is required: compare the first (excel-file) and second (txt-file) lists, find duplicate cities in them and deduce from the first list only those lines in the excel-file (that is, city, index, full name) that will match without register with the second list.
Thanks in advance for the tips!