Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
303 views
in Technique[技术] by (71.8m points)

Excel - Filter column based on values from a different column

I'm struggling with this for a while now. I'm not very familiar with Excel and I've searched on the internet to find a solution to this but unfortunately no success so far.

What I want to do is to create a new column based on these criteria. As you can see here

enter image description here

I want to create a new column based on column A but filtering out any cells that contain any of the words/set of words from column B. Finally, the new column will have cells that will not contain any of the words/set of words found in column B.

Is there any way of doing this?

Thank you!

question from:https://stackoverflow.com/questions/65898168/excel-filter-column-based-on-values-from-a-different-column

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

With Excel365 you can use combination of below dynamic formulas.

=LET(x,XLOOKUP("*" & INDEX(C1:C3,SEQUENCE(COUNTA(C1:C3))) &"*",A1:A5,A1:A5,,2),FILTER(x,NOT(ISERROR(x))))

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...