See attached Workbook.
I used a VLOOKUP function combined with an IF statement to yield "NO CATEGORY" when an item isn't in the list.
Formula fragments follow from Sheet 1, cell A2:
VLOOKUP(A3,Sheet2!$A$2:B$15,2)
=IF(VLOOKUP(A3,Sheet2!$A$2:B$15,2)=0,"NO CATEGORY",VLOOKUP(A3,Sheet2!$A$2:B$15,2))
HINT: If you want to expand the LOOKUP TABLE, DO NOT add another item at the end.
Insert a line inside the LOOKUP TABLE boundaries, and the formulas will automatically
adjust themselves. If you need to add a LAST ITEM, insert a row before the last item,
'cut and paste' the last row to the newly inserted row, and then add the text on the
LAST LINE.
Bookmarks