Hi @anubhav29 ,
Could you tell me:
1)what does this mean: "how many answer has been selected for the selected one"?
2)what data do you want to use to update "Answered questions" column?
3)where do you want to selected answer, inside gallery? outside gallery? use what control?
4)the data type of "Answered questions" column?
Actually, just based on your description, I could not quite understand your issue.
I assume that:
you put multiple checkboxes inside the gallery and you use the checked number to update "Answered questions" column.
"Answered questions" column is number type.
The gallery looks like this:

Then you update the first line with 5,the second line with 3,the third line with 2.
In this situation, you could set the arrow button's OnSelect inside the gallery:
Patch(listname,ThisItem,
{'Answered questions':
If(Checkbox1.Value,1,0)+If(Checkbox2.Value,1,0)+
If(Checkbox3.Value,1,0)+If(Checkbox4.Value,1,0)+
If(Checkbox5.Value,1,0)
}
)
Best regards,