Checking all rows if specific column contains value of "A" if contains value of "A" it will filter the data table get all the rows that have value of "A"

what should i do next after this. sorry. after this condition i have to do for each and get all the values of specific column and sum it. i already done in sum them. im confused how can apply the ArrDr_O. sorry . i don’t know what to do