Reference table
Category True=1, False=0
A 1
B 0
C 1
D 1
E 0
F 1
G 0
Question
Category Amount
A 60
B 90
C 10
D 80
E 60
Total X=?
Previously my answer is =A+C+D
But they don’t want manual correction if in question Category B is change to category F
Then the answer will be =A+C+D+F
Should I use vlookup/if function to sum up to total amount
Category True=1, False=0
A 1
B 0
C 1
D 1
E 0
F 1
G 0
Question
Category Amount
A 60
B 90
C 10
D 80
E 60
Total X=?
Previously my answer is =A+C+D
But they don’t want manual correction if in question Category B is change to category F
Then the answer will be =A+C+D+F
Should I use vlookup/if function to sum up to total amount