# Sum True (Boolean) values

**URL:** <https://community.glideapps.com/t/sum-true-boolean-values/70404>\
**Category:** Ask for Help\
**Created:** [February 2, 2024, 9:05am UTC](https://community.glideapps.com/t/sum-true-boolean-values/70404 "2024-02-02T09:05:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Tardiveau](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david_tardiveau/32/18782_2.png) [@David\_Tardiveau](https://community.glideapps.com/u/David_Tardiveau)\
**Post date:** [February 2, 2024, 9:05am UTC](https://community.glideapps.com/t/sum-true-boolean-values/70404/1 "2024-02-02T09:05:07Z")

</div>

Hello, i’d like to get the sum of the true values in a new column.

 ![Capture d’écran 2024-02-02 à 10.01.09](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/b/bbd33490a23f52d41b0849e07147ac512b1306f7.png)

In this exemple, i’d like to create a new column (names Total) to get 2.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [February 2, 2024, 9:23am UTC](https://community.glideapps.com/t/sum-true-boolean-values/70404/2 "2024-02-02T09:23:24Z")

</div>

- Use a Make Array column to create a single array from all 5 columns
- Use a Rollup Column to get a count of true values from the array

---

<div class="post-metadata">

**Author:** ![David\_Tardiveau](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david_tardiveau/32/18782_2.png) [@David\_Tardiveau](https://community.glideapps.com/u/David_Tardiveau)\
**Post date:** [February 2, 2024, 9:38am UTC](https://community.glideapps.com/t/sum-true-boolean-values/70404/3 "2024-02-02T09:38:04Z")

</div>

Thanks Darren, it works.  
Thanks to your answer, i had another idea, and i’ve just tried again to use Math, and now, it’s OK. The first time i tried, the boolean value were not converted as a number. Maybe i made a mistake the first time. I got now to solutions thanks to you. 🙏

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [February 9, 2024, 9:38am UTC](https://community.glideapps.com/t/sum-true-boolean-values/70404/4 "2024-02-09T09:38:10Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
