A
A
Artem Morozov2020-02-28 13:47:31
XPath
Artem Morozov, 2020-02-28 13:47:31

How to calculate the sum of checkboxes in a column?

5e58ef04b4279843389368.png

How can you display the number of how many flags Alexander has in the end, and how many Sergey has?

PS In the ideal, of course, so that the flag set was = 1. And the missed one = -2, and as a result the sum was considered. But it's already perfect. But if anyone knows, please help. Or at least tell me where to drop.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman Fov, 2019-07-10
@Shimpanze

/root/span[translate(@style, '; ', '') = 'text-decoration:underline']

A
Alexander Ivanov, 2020-02-28
@oshliaer

For Alexander

=SUM(ARRAYFORMULA(ISLOGICAL(B2:B)*((B2:B*1) + NOT(B2:B)*2)))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question