Forum Discussion
How can I filter out rows that have duplicate values in adjacent columns?
- Aug 09, 2022
You may create a helper column (say in column E) with the following formula...
=C2=D2
This formula will return TRUE when values in columns C and D are the same and FALSE if they are different and then you may apply the Filter and choose TRUE or FALSE as per your requirement.
Please refer to the attached with formula in place.
For your example, this function does it: =FILTER(A2:D15,C2:C15<>D2:D15)
I've attached a sample spreadsheet. The formula appears in cell G2; the results fill all the adjacent rows and columns.
(You missed the fourth row in your example, by the way.)
- C_T_M_81Aug 09, 2022Copper Contributor
I am having trouble implementing this. I already have a formula active and am not sure which cell to insert the filter in. The sheet i am working on is a large one. Over 14k rows.