I have a series of named ranges on a tab stored with the top row serving as each range's name (eg fruit, apple, pear, apricot). There are empty columns between each list.
On a different tab I have a column "Description" which has data values that correspond to some of those items (apricot, apricot, apple, pear). An adjacent column "Category" reads the Description cell and matches the contents to the appropriate range. Currently that formula reads
=IF(Countif(Fruit, [@Description])=1, "Fruit", if(countif(Fish, [@Description])=1, "Fish",...))
The formula gets the job done, but it's ugly and does not scale very easily. Is there a cleaner, more elegant formula I could use?
Currently using Excel 2013