Search element in a list of lists

I have a list of list I populate from a csv file (2 columns) with "list from csvtable", is it possible to make a search without splitting it in 2 lists and without a For Each cicle, maybe with "Index in list" ?

If your column 1 is unique and it is your search argument, you are in a good position to use the lookup in pairs list block to give you the second column value for a given unique value in column 1.

You also have dictionaries, which give unique lookup, and you could devote a TinyDB Namespace for your lookups, one tag per column 1 value.

If your data does not have a unique key, you can hide your search behind a procedure, like in this sample project:

1 Like

Yes, this is my condition, your suggestion runs very well, thank you very much

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.