Filter data with "contains" using cell search

Solved
iKreal Posted messages 20 Registration date   Status Member Last intervention   -  
iKreal Posted messages 20 Registration date   Status Member Last intervention   -
Hello,

I would like to filter a list of words using the contains function in Excel (Menu > Data > Filter > Arrow of the "parent" cell > Text filters > contains).
It all works, for example we have the following list:
tiger
giraffe
lion
leopard
cheetah

And we are looking for "g??p???". The cells are filtered and only "cheetah" remains.
But I don't like clicking on the arrow at the bottom of the box, then clicking on "Text filter" to change the filter, I would simply like to write my search in a cell and have it filtered directly.
I tried to set the position of my cell in the filter but it doesn't work.
Thank you for your help! :)

18 answers

  1. Raymond PENTIER Posted messages 58213 Registration date   Status Contributor Last intervention   17 482
     
    No, it doesn't work and it won't work, because Excel doesn't like it when you turn your back on tools created for a specific use.
    But if you are a whiz at VBA programming, you can always try to write a macro ...

    --
    Retirement is great! Especially in the Caribbean ... :-)
    Raymond (INSA, AFPA, CF/R)
    0
    1. iKreal Posted messages 20 Registration date   Status Member Last intervention   6
       
      Could you help me write the macro if you don't mind?
      I have no experience in this language, except that I know how to code in VB.NET (yes, it's a much inferior language...).
      Thank you.
      0