Forum Discussion
tgjones43
Helper IV
6 years agoFilter a column depending on value in another column
There is probably a simple solution to this but I can't figure it out. In the simplified view of my data shown below I'd like to filter out all values of 2 and 3 in Column B, but only when the value ...
- 6 years ago
Hello tgjones43
You can add a custom column using this code for your example then filter out the "remove" and finally delete the custom column.
if [Column A] = "B" and ([Column B] = 2 or [Column B] = 3) then "remove" else "keep"
jdbuchanan71
Super User
6 years agoHello tgjones43
You can add a custom column using this code for your example then filter out the "remove" and finally delete the custom column.
if [Column A] = "B" and ([Column B] = 2 or [Column B] = 3) then "remove" else "keep"
- tgjones436 years ago
Helper IV
The solution from jdbuchanan71 is the simplest, thank you.