@cc_cathy64
Good morning! Here's an example that I hope is what you were describing. The first table is my data source, the 2nd is the "modified" table using AddColumns, where I've summed the values for each row:


Formula example:
AddColumns(Project,
"SumGreen",If(Finance="GREEN",1,0) + If(Issue="GREEN",1,0) + If(Risk="GREEN",1,0) + If(Schedule="GREEN",1,0),
"SumAmber",If(Finance="AMBER",1,0) + If(Issue="AMBER",1,0) + If(Risk="AMBER",1,0) + If(Schedule="AMBER",1,0),
"SumRed",If(Finance="RED",1,0) + If(Issue="RED",1,0) + If(Risk="RED",1,0) + If(Schedule="RED",1,0))
And you don't have to use AddColumns in another table, it could also be added to a Collection or something like that. Here's an example:


Not sure if this is what you had in mind but hopefully it helps ^__^