Adding Category value from look-up table
Hi,
I am having difficulties to build a formula in numbers that is checking if a certain expression from the look-up table (Cat_table) is in a cell of the main (Transactions) table and if so, adds the category value next to it (see expected results table). Date and Description cells are imported and I would like to categorize them. In Excel I used to do it with that formula but I could not make it work in Apple Numbers: =INDEX(Cat_table!$B$2:$B$5;MIN(IF(ISNUMBER(SEARCH(Cat_table!$A$2:$A$A5;B2));(ROW(Cat_table!$A$2:$A$5)-ROW(Cat_table!$A$1)))))
Any help is highly appreciated!
MacBook Pro 14″, macOS 14.6