# How to compute GCD in data editor

**URL:** <https://community.glideapps.com/t/how-to-compute-gcd-in-data-editor/32601>\
**Category:** Ask for Help\
**Created:** [October 3, 2021, 7:22pm UTC](https://community.glideapps.com/t/how-to-compute-gcd-in-data-editor/32601 "2021-10-03T19:22:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roldy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/roldy/32/36068_2.png) [@Roldy](https://community.glideapps.com/u/Roldy)\
**Post date:** [October 3, 2021, 7:22pm UTC](https://community.glideapps.com/t/how-to-compute-gcd-in-data-editor/32601/1 "2021-10-03T19:22:04Z")

</div>

How to compute the greatest common divisor of numbers in data editor, without using YC Column ?  
It may be trivial but I currently don’t know how to deal with the math functions currently available in Glide.  
Thanks!

---

<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:** [October 3, 2021, 11:28pm UTC](https://community.glideapps.com/t/how-to-compute-gcd-in-data-editor/32601/2 "2021-10-03T23:28:40Z")

</div>

I did have a read about methods to calculate GCD and don’t think there’s any easy way to do this directly in Glide.

---

<div class="post-metadata">

**Author:** ![Roldy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/roldy/32/36068_2.png) [@Roldy](https://community.glideapps.com/u/Roldy)\
**Post date:** [October 3, 2021, 11:39pm UTC](https://community.glideapps.com/t/how-to-compute-gcd-in-data-editor/32601/3 "2021-10-03T23:39:30Z")

</div>

Absolutely agree, I struggled all day to understand but failed in Glide.  
Thanks
