General data, form A code data to match the data form B, and then find A duplicate values, and then look at the people forward B in the third column is the data in the table is greater than 1, if more than 1 just calculate A activity of human, and then according to the first column of agencies export A total,