1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Filtering function for Column information

Our take

Are you looking to enhance your spreadsheet functionality with a more flexible filtering approach? If so, consider this method for transforming specific words in a column. The current formula effectively filters keywords like "APPLE" and "BANANA" from a given text, but you can adapt it to replace certain terms with alternatives, such as returning "Other" for any unlisted words. This enables a clearer categorization of your data, allowing for improved analysis and organization. Let’s explore how to implement this adjustment seamlessly.

Hello all, I am currently running a the function below to filter out words in a specific column (changed words for simplicity). I was wondering if there were a function that can be added on to the function below so that any specific words would instead come back as other

=LET(

_keywords, {"APPLE","BANANA","GRAPES","PINEAPPLE"},

_text, TEXTSPLIT(A1, , " "),

_filter, FILTER(_text, BYROW(1 - ISERR(SEARCH(_keywords, _text)), OR)),

_joined, TEXTJOIN(" ", TRUE, _filter),

_joined)

EX. Column A1 says Apple basket with Banana bread, which gives me Apple, Banana

But what can I do so that when A2 says Cookie gift and Apple basket, it sends me back with Other, Apple

submitted by /u/ActAutomatic6726
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article

Related Articles