Jump to content

The opposite of 'filter'


This topic is 2065 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Is there a way to do the opposite of the filter function?  For example:

 

Field 1 contains the text “dog cat giraffe crocodile”

Field 2 contains the text “dog giraffe”

 

I would like field 3 to be a calculated value which displays “cat crocodile” ie it removes from field 1 whatever words are typed into field 2.

Link to comment
Share on other sites

Set solved if you have the answer and a like ;)

 

Some explanation :

we get the field b (dog giraffe) and transform it by substitute space with carrier return, so you've got a value list.

You count the number of fields in b (in this case 2) and make the substitute in field a with the current element of the value list.

So : 1st -> substitute dog by "" in the main field

2nd -> substiture giraffe by "" in the main field

only 2 values so exit and set field c

 

Tom

  • Thanks 1
Link to comment
Share on other sites

Hi egor and Tom,

A reply by the OP -  of thank you, that work, or that's what I needed, (or something similar).

The trophy works when you post it to the person who provided you the answer. :) 

It also acts as an at-a- boy, which we all like to hear:banana:.

Link to comment
Share on other sites

This topic is 2065 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.