I have an Excel 2000 (sorry, can’t afford to update MSOffice) 836-line spreadsheet (see attached) in which I want to accomplish the following:
Examine each entry in J and compare it to all terms in A5:A13 and all in A21:A34. If a string found in A5:A13 appears in J, then enter the corresponding values of B5:B13 into column F and C5:C13 into G.
For example, if “megalo” is found in J (e.g. J3 & J4), then F3 & F4 would receive the entry “Theropod” and G3 & G4 would receive “Megalosaur”. If “sacr” is found (e.g. in J24), then “sacrum” is entered in H24.
It would be nice if both arrays in A/B could be expandable, as new terms are used.
I tried the Search function combined with IF, but was defeated by the fact that when Search fails to find the target string in a given text, it returns #VALUE!, which apparently cannot be processed by the IF and thus ends the search, rather than going on to look for the next string.
836 lines is a bit beyond the number I would like to do by hand, thus this query.