I want to compare values in two columns in Excel as depicted in the image below :-

Using the formula, I want to put the values in the “Values of A which don’t exist in B” and “Values of B which don’t exist in A”. Any help is appreciated.
I have shared the same excel sheet here.
The following will work – for each, add the formula in row 2 and then drag down
Values of A that do not exist in B
Result = x, y, z, i, j ,k, l, u
NB: Your example spreadsheet is incorrect as u is in Col A but not Col B but you do not list it in your result set in Col C
Values of B that do not exist in A
Result = q, r, e, f, g