Choose the matching data for each criteria