User friendly solution than hard coded keyword lookup?

Wad Mabbit

Board Regular
Joined
Mar 31, 2016
Messages
74
Office Version
  1. 2016
Platform
  1. Windows
I've set up this table, called PickDescription:
1642668647004.png


and this one, called PickNotes
1642668771240.png



using this lookup to check for Keywords in Notes Keywords, then Description Keywords, returning [Description] if no match:
=IFNA(INDEX(PickNotes[Category],MATCH(TRUE,ISNUMBER(SEARCH(PickNotes[Notes Keywords],[@Notes])),0)),
IFNA(INDEX(PickDescription[Category],MATCH(TRUE,ISNUMBER(SEARCH(PickDescription[Description Keywords],[@Description])),0)),
[@Description]))


Questions 1:
Is there a way to do this without using an array, as arrays are volatile?

Question 2:
It would be nice to have multiple entries in the Keyword columns, rather than lopts of rows for the same Category listing. Any ideas?
 

Attachments

  • 1642664921593.png
    1642664921593.png
    28.2 KB · Views: 10

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Fixed, with help from BSALV on another thread:
=IFERROR(INDEX(MyDescription,1/(1/MAX(ISNUMBER(SEARCH(MySearch,[@Description] & "|" & [@Notes]))*ROW(MyDescription)))),[@Description])

..Ditched the Notes table and am just using a single table. highest row number has priority
 
Upvote 0
Solution

Forum statistics

Threads
1,215,454
Messages
6,124,933
Members
449,195
Latest member
Stevenciu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top