I wasn't sure what to title this question, but feel free to edit it if you have a better idea.
Let's say I have data that looks like this:
Column A Column B
John, Sally, Cindy John, Sally, Cindy, Steve
John, Cindy John, Sally, Cindy
Sally, Cindy Sally, Cindy
Sally, Steve John, Sally, Steve
What I would like to do is find the differences. I want to see what exists in column B
that are not in column A
, so that I have a column that looks like this:
Column C
Steve
Sally
''
John
Any suggestions for approaching this?
Edit #1:
The table is not stored like this, the table does not have multiple values per cell; however, I am sending a report from a SQL query and the assignment is to show the differences with columns a and b
having multiple values like this.
This is what my SQL query currently looks like in the results so far.
Edit #2:
There are not multiple values per record/column intersection in the table. To make the report easier to view for the end user, I placed multiple values in the intersection, in my SQL Query Results, so show what is there and what is not there.
I am trying to create column C
to show the differences.
Edit #3:
Column A
comes from one data source
Column B
comes from another data source.
A and B are not subsets of each other, I am simply taking 2 columns and trying to find the differences in an easier way.