I have two excel sheets, the first one has three columns names, score and extra activities. The second column has only one column with names.
I want to compare the two sheets and if the names matches then I want to add 10 points to the score. I would really appreciate any help. I uploaded the data and below is my code so far.
Data = readtable("Data.xlsx")
Data2 = readtable("Data2.xlsx")
Volunteer_Names = ismember(Data.Extra_activities,'Volunteer Work and Community Service');
Volunteer_Names = Data(Volunteer_Names,:)
Add_Points = strcmp(Data.Names,Data2.Names,:)