Comparing the data of 2 columns
Hi,
I'm trying to compare the data of two sets of 6 columns each (i.e. comparing column 1 of set 1 with column 1 of set 2 etc.). Both columns have one of three answers options in each cell. However, I'd be interest only in knowing whether two of these three different answer options between the first set of columns and the second set fit - I so far used an IF function such that I would get 0 if the answers of two cells are identical and 0 if there are not identical. Despite having deleted all answers that I do not want to code for as being 'different' between the two sets of columns, Excel still seems to compare them. Any idea how I could avoid this such that I will always receive a 0 (= identical) for this answer option between comparing the two sets of columns?
Example for what I tried but didn't work:
=IF(F2:F181=Z2:Z181;1;IF(F2:F181=same;1;0))
Here I tried to establish that if the answer of the column F2:F181 shows the answer option 'same', I would like the formula to give '1' back.
Thanks!
So you can just use an IF condition:
IF(H1="same";"";if(H1=H2;"same";"different"))