Hello,
I've 2 files - Problem_Desc and Equipment. Problem_Desc file has 2 columns - Area# and Problem_Desc which is a free text field as long as 4-10 lines. Equipment file has 2 coumns - List of Equipment# and Area#. On Problem_Desc file, I want every row in column B to be compared against column B (equipment) of equipment file and return the matching value. Meaning, cell B2 of Problem_Desc file needs to be compared against all of column B values of Equipment file and if there is a matching value, give me this value in column C of problem_desc file.
eg: Lets say cell B2 of Problem_desc file reads REFRIGERATION / Rack House / Compressor Lockout - Single / AUTOMATED WORK ORDER. Job Type: refrigeration Assigned To: 10101 Units Affected: 1 Problem Type: Compressor Lockout - Single Systems Affected: MT-D-3.Manual Comment: N/A Fault Summary: Compressor 4 Lock Out.
And one of the values of column B in equipment table reads "MT-D-3-1241". In this case there is a partial match and hence return "MT-D-3" in column C.
Note: Not all rows of Problem_Desc file will have the equipment information mentioned in column B. Only for the rows containing these equipment information, return the matching values, if not return "no match". Also, EVEN IF THERE IS A PARTIAL OR NOT A COMPLETE MATCH, STILL RETURN THE MATCHING VALUES.
Please let me know how this can be achieved.