# 🧮 New Math functions

**URL:** https://community.glideapps.com/t/new-math-functions/16761
**Category:** General
**Created:** [October 5, 2020, 8:12am UTC](https://community.glideapps.com/t/new-math-functions/16761 "2020-10-05T08:12:00Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![eltintero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eltintero/32/76520_2.png) [@eltintero](https://community.glideapps.com/u/eltintero)
#### Post date: [October 5, 2020, 4:09pm UTC](https://community.glideapps.com/t/new-math-functions/16761/21 "2020-10-05T16:09:14Z")

</div>

that one I did!! hahah

---

<div class="post-metadata">

### Author: ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)
#### Post date: [October 7, 2020, 1:51am UTC](https://community.glideapps.com/t/new-math-functions/16761/22 "2020-10-07T01:51:03Z")

</div>

Since we’re adding new Math functions, any chance we can get Left(), Right() and Rank() formulas too?! Not sure if left/right are really “Math”, but would be super handy!

---

<div class="post-metadata">

### Author: ![wjcv06](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/wjcv06/32/12747_2.png) [@wjcv06](https://community.glideapps.com/u/wjcv06)
#### Post date: [October 7, 2020, 2:46am UTC](https://community.glideapps.com/t/new-math-functions/16761/23 "2020-10-07T02:46:59Z")

</div>

We need “formulas” for Text like LEFT, RIGHT, SUBSTRING, etc…

---

<div class="post-metadata">

### Author: ![Mark](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark/32/125_2.png) [@Mark](https://community.glideapps.com/u/Mark)
#### Post date: [October 7, 2020, 1:40pm UTC](https://community.glideapps.com/t/new-math-functions/16761/24 "2020-10-07T13:40:39Z")

</div>

What are you using LEFT, RIGHT, SUBSTRING for?

---

<div class="post-metadata">

### Author: ![Bruno\_Sia](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bruno_sia/32/12576_2.png) [@Bruno\_Sia](https://community.glideapps.com/u/Bruno_Sia)
#### Post date: [October 7, 2020, 1:46pm UTC](https://community.glideapps.com/t/new-math-functions/16761/25 "2020-10-07T13:46:12Z")

</div>

Amazing, now waiting for conditional maths expressions, using IF conditions.

---

<div class="post-metadata">

### Author: ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)
#### Post date: [October 7, 2020, 1:50pm UTC](https://community.glideapps.com/t/new-math-functions/16761/26 "2020-10-07T13:50:05Z")

</div>

I’m not using substring (though maybe I should?). `Left()` and `Right()` I use often with `Find()` to create strings from parts of strings ([robert.petitto@email.com](mailto:robert.petitto@email.com) -\> robert.petitto). Sometimes I’ll grab just the first letter of a Last Name to create a user name (Robert P.).

Really, though, more than `Left()` and `Right()`, I’d love the `ENCODEURL()` function to percent encode a string or if there was someway to get the `Base64` version of a string/URL as well that would be amazing.

---

<div class="post-metadata">

### Author: ![wjcv06](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/wjcv06/32/12747_2.png) [@wjcv06](https://community.glideapps.com/u/wjcv06)
#### Post date: [October 7, 2020, 3:40pm UTC](https://community.glideapps.com/t/new-math-functions/16761/27 "2020-10-07T15:40:12Z")

</div>

For example to get the first letter of the user name and create a directory grouped by letter.  
For an 8 letter code if you need the positions between 4 and 7, SUBSTRING would be very helpful.

---

<div class="post-metadata">

### Author: ![V88](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/v88/32/90054_2.png) [@V88](https://community.glideapps.com/u/V88)
#### Post date: [October 8, 2020, 9:00pm UTC](https://community.glideapps.com/t/new-math-functions/16761/28 "2020-10-08T21:00:19Z")

</div>

Hey @JackVaughan did this happen yet? Cheers.

---

<div class="post-metadata">

### Author: ![kabookie](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kabookie/32/10994_2.png) [@kabookie](https://community.glideapps.com/u/kabookie)
#### Post date: [October 8, 2020, 9:46pm UTC](https://community.glideapps.com/t/new-math-functions/16761/29 "2020-10-08T21:46:26Z")

</div>

My algebra classes were so long ago that those brain cells seem to be in a dormant state ATM…

---

<div class="post-metadata">

### Author: ![Mark](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark/32/125_2.png) [@Mark](https://community.glideapps.com/u/Mark)
#### Post date: [October 8, 2020, 11:08pm UTC](https://community.glideapps.com/t/new-math-functions/16761/30 "2020-10-08T23:08:30Z")

</div>

> [@V88](#):
>
> did this happen yet

It just happened.

---

<div class="post-metadata">

### Author: ![Rasha](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rasha/32/4585_2.png) [@Rasha](https://community.glideapps.com/u/Rasha)
#### Post date: [October 8, 2020, 11:42pm UTC](https://community.glideapps.com/t/new-math-functions/16761/31 "2020-10-08T23:42:02Z")

</div>

So,

=CEILING(now(),“00:30”)

or

=CEILING(x,“00:30”) Where x is a GE datetime math column

What is the proper way to structure this? Two separate columns?

---

<div class="post-metadata">

### Author: ![Rasha](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rasha/32/4585_2.png) [@Rasha](https://community.glideapps.com/u/Rasha)
#### Post date: [October 9, 2020, 4:23am UTC](https://community.glideapps.com/t/new-math-functions/16761/32 "2020-10-09T04:23:10Z")

</div>

hey @JackVaughan - is there anything unique about the DOB column in the make me younger example, or just a standard datetime column? I get an argument error when I try to replicate.

![younger](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/b/bd0c6b559b42286827cd79f7bbf015d8159bf465.png)

---

<div class="post-metadata">

### Author: ![JackVaughan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jackvaughan/32/49023_2.png) [@JackVaughan](https://community.glideapps.com/u/JackVaughan)
#### Post date: [October 9, 2020, 10:36am UTC](https://community.glideapps.com/t/new-math-functions/16761/33 "2020-10-09T10:36:15Z")

</div>

That looks ok to me. Not sure.

Yes - DOB is just a date/time column formatted with only year.

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [October 9, 2020, 12:04pm UTC](https://community.glideapps.com/t/new-math-functions/16761/35 "2020-10-09T12:04:05Z")

</div>

You’re missing a parenthesis after DOB.

---

<div class="post-metadata">

### Author: ![JackVaughan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jackvaughan/32/49023_2.png) [@JackVaughan](https://community.glideapps.com/u/JackVaughan)
#### Post date: [October 9, 2020, 12:07pm UTC](https://community.glideapps.com/t/new-math-functions/16761/36 "2020-10-09T12:07:13Z")

</div>

🤦🏼

---

<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 9, 2020, 12:07pm UTC](https://community.glideapps.com/t/new-math-functions/16761/37 "2020-10-09T12:07:30Z")

</div>

Happens to the best of us sometimes.

---

<div class="post-metadata">

### Author: ![Rasha](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rasha/32/4585_2.png) [@Rasha](https://community.glideapps.com/u/Rasha)
#### Post date: [October 9, 2020, 4:35pm UTC](https://community.glideapps.com/t/new-math-functions/16761/38 "2020-10-09T16:35:16Z")

</div>

I did WHAT? 🙂  
Reversing / transposing / omitting things is a regular thing.  
Thanks Jeff, and sorry about that @JackVaughan.

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [October 10, 2020, 12:34am UTC](https://community.glideapps.com/t/new-math-functions/16761/39 "2020-10-10T00:34:20Z")

</div>

It should just know what we meant, right? 😉

---

<div class="post-metadata">

### Author: ![JackVaughan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jackvaughan/32/49023_2.png) [@JackVaughan](https://community.glideapps.com/u/JackVaughan)
#### Post date: [October 10, 2020, 9:16am UTC](https://community.glideapps.com/t/new-math-functions/16761/40 "2020-10-10T09:16:10Z")

</div>

I didn’t see it either! 😉

---

<div class="post-metadata">

### Author: ![dinoyonid](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dinoyonid/32/15385_2.png) [@dinoyonid](https://community.glideapps.com/u/dinoyonid)
#### Post date: [October 18, 2020, 8:49am UTC](https://community.glideapps.com/t/new-math-functions/16761/41 "2020-10-18T08:49:46Z")

</div>

For ROUND, is there a way to round to closest integer? (just like MROUND on Google sheets)  
i.e I want to round to the closest 500. so 1512 would become 1500 and 1768 would become 2000?

[Previous page](https://community.glideapps.com/t/new-math-functions/16761.md?page=1)

[Next page](https://community.glideapps.com/t/new-math-functions/16761.md?page=3)
