# Comparing a Rollup to a set of Numbers

**URL:** <https://community.glideapps.com/t/comparing-a-rollup-to-a-set-of-numbers/62705>\
**Category:** Ask for Help\
**Created:** [June 13, 2023, 8:20am UTC](https://community.glideapps.com/t/comparing-a-rollup-to-a-set-of-numbers/62705 "2023-06-13T08:20:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AbdulGhafor\_abbas](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/abdulghafor_abbas/32/56019_2.png) [@AbdulGhafor\_abbas](https://community.glideapps.com/u/AbdulGhafor_abbas)\
**Post date:** [June 13, 2023, 8:20am UTC](https://community.glideapps.com/t/comparing-a-rollup-to-a-set-of-numbers/62705/1 "2023-06-13T08:20:41Z")

</div>

I have a rollup column that shows a ( tasks done number).

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/b/7b421ba23ebb3a1b5d0f920cf47e51f68124f8c1.png)  
which is the count of a boolean checklist.

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/2/82df0b7267c618a45d0f5cb03c3566ff25dfa421.png)

i want to compare this number if it reached 10 or any value from its multiples:  
10 - 20 - 30 …etc.  
if yes then do some actions (set column values in different table)+ increments in different tables.  
if no then do nothing.  
how can i achieve this?  
i can add an if-else column and add each multiple by itself but i think there is a better way.  
how can i achieve this?  
thanks

---

<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:** [June 13, 2023, 8:29am UTC](https://community.glideapps.com/t/comparing-a-rollup-to-a-set-of-numbers/62705/2 "2023-06-13T08:29:38Z")

</div>

Use a math column with a modulus formula: `Mod(Number,10)`  
If the math column returns 0, it meets your condition.

 ![CleanShot 2023-06-13 at 16.28.23@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/4/6479f582420a2480d09400c675471e4732bd12fa.png)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [June 13, 2023, 11:32pm UTC](https://community.glideapps.com/t/comparing-a-rollup-to-a-set-of-numbers/62705/3 "2023-06-13T23:32:51Z")

</div>

Do you want to tie an action to the point where you click the 10th task then it would do something? I think you have to change things a bit to achieve that, because the “check” won’t give you an option to do another action.

---

<div class="post-metadata">

**Author:** ![AbdulGhafor\_abbas](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/abdulghafor_abbas/32/56019_2.png) [@AbdulGhafor\_abbas](https://community.glideapps.com/u/AbdulGhafor_abbas)\
**Post date:** [June 16, 2023, 5:56am UTC](https://community.glideapps.com/t/comparing-a-rollup-to-a-set-of-numbers/62705/4 "2023-06-16T05:56:28Z")

</div>

thanks all for your replys. i had to change some logic in my app to work easier 😅. because its hard to do an action based off a check even in the future.
