I'm new to access and ive been running around trying to figure out this. I can bring in data with one query from two columns that will look like this below. I need to make sure that the MP01A in column 1 matches MP01A in column2 while ignoring the - in the comparison. If it matches the results don't need to be displayed, but I would like it to display if if column 2 doesnt match column 1. For instance column 2 could be XXX-MP-02-YYY or XXX-MP-01B-YYY.
Column1
XXX_MP01A_ZZZ
Column2
XXX-MP-01A-YYY
Column1
XXX_MP01A_ZZZ
Column2
XXX-MP-01A-YYY