Forum Discussion

ellaumbrella's avatar
ellaumbrella
Copper Contributor
Feb 12, 2024
Solved

Need help calculating total sum of studtens skill in certain abilities by group

Hello everyone,   I have a table called "Abilities". It names abilities and the group they belong to:   Further I have table called "Students" It has a column for the Student and one colum...
  • djclements's avatar
    Feb 12, 2024

    ellaumbrella Do you have Excel for MS365? If so, give this formula a try in cell B2 of your summary table:

     

    =SUM(FILTER(FILTER(Students, ISNUMBER(XMATCH(Students[#Headers], TOCOL(IFS(Abilities[Group]=VALUE(B$1), Abilities[Ability]), 2)))), Students[Student]=[@Student]))

     

    - OR -

     

    =SUM(FILTER(FILTER(Students, ISNUMBER(XMATCH(Students[#Headers], FILTER(Abilities[Ability], Abilities[Group]=VALUE(B$1))))), Students[Student]=[@Student]))

     

    Please see the attached workbooks, if needed...

Resources