Filters input to match a master dictionary stored in an excel file