Numbers, creating a filter using a formula

Hi,


I have a list of ca 380 Video I woul like to watch. The easiest way to find the Videominiaturen the list is to use a filter using the first letter/word of listed items to simplify the search. This works great, but means creating several Rules and physically selecting the one I want to use.

I thought it would be easier to create a single Rule, add a column to my spreadsheet and using a formula to place a "1“ in the column where the first few letters of list matched the search criteria I entered.

In theory it would work fine but I can’t seem to get my formula to only consider the first few letters of the entry in my Table. In the following example it works fine, but only if I enterbtem complete word

Here is the simple formula I have tried:

The mock-up spreadsheet I use to test out my idea is in German, so to explain

wenn - if

Teil - Table range

Suche - a separate one-cell table where I enter my dearth criteria


1). WENN(Teil=Suche::A$2;1;"")

2) WENN(A2=Suche::A$2;1;"")


I have tried using an * after A$2…but that just gives me a Syntax error.


So what am I doing wrong. If I were in excel I could write a Routine to filter the table. I don’t think Numbers has that Facility?


Can you help ?


Regards

B A Worrall

iPad, iPadOS 14

Posted on Mar 1, 2021 3:32 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 7, 2021 3:42 AM

Hello again,


A formula that allows you to type any number of letters into the Search table.



IF(LEFT(A2,LEN(Search::A$2))=Search::A$2,1,"")


In German,

WENN(LINKS(A2;LÄNGE(Search::A$2))=Search::A$2;1;"")


Some examples:





Grüße,

Ian.

5 replies

Mar 7, 2021 2:24 AM in response to Uwe1946

Hello Uwe1946 (B A Worall),


Perhaps this will help you start.

This is in Numbers for Mac, but the formula will work in Numbers for iOS


IF(LEFT(A2,1)=Search::A$2,1,"")


In German (sorry, my knowledge of the German language is school level!)



WENN(LINKS(A2;1)=Suche::A$2;1;"")


Perhaps another user can show you how to apply a filter in iOS where Ziegen Text is 1


Regards,

Ian.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Numbers, creating a filter using a formula

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.