# Addin custom math functions that take parameters to a Glide column

**URL:** https://community.glideapps.com/t/addin-custom-math-functions-that-take-parameters-to-a-glide-column/21949
**Category:** Ask for Help
**Created:** [January 29, 2021, 4:37pm UTC](https://community.glideapps.com/t/addin-custom-math-functions-that-take-parameters-to-a-glide-column/21949 "2021-01-29T16:37:02Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![chrisreina](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/chrisreina/32/20757_2.png) [@chrisreina](https://community.glideapps.com/u/chrisreina)
#### Post date: [January 29, 2021, 4:37pm UTC](https://community.glideapps.com/t/addin-custom-math-functions-that-take-parameters-to-a-glide-column/21949/1 "2021-01-29T16:37:02Z")

</div>

I’m trying to create a scoring function for raw data (column entries), but I need to pass the raw data through a function to transform the values, specifically I want to use a logistic function: [Logistic function - Wikipedia](https://en.wikipedia.org/wiki/Logistic_function)

Is there a way for me to achieve this using Glide (maybe using a fancy cell trick)?

---

<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: [January 30, 2021, 12:56am UTC](https://community.glideapps.com/t/addin-custom-math-functions-that-take-parameters-to-a-glide-column/21949/2 "2021-01-30T00:56:30Z")

</div>

Are all parameters of the Logistic function available to you from the raw data? I assume you can do it with the right math column set up.

---

<div class="post-metadata">

### Author: ![chrisreina](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/chrisreina/32/20757_2.png) [@chrisreina](https://community.glideapps.com/u/chrisreina)
#### Post date: [January 30, 2021, 1:35am UTC](https://community.glideapps.com/t/addin-custom-math-functions-that-take-parameters-to-a-glide-column/21949/3 "2021-01-30T01:35:59Z")

</div>

Yeah, the logistic curve basically just takes one variable – the challenge is really how do I represent the function (especially since I have to use e) and get it to be reusable for various values in glide

---

<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: [January 30, 2021, 9:57am UTC](https://community.glideapps.com/t/addin-custom-math-functions-that-take-parameters-to-a-glide-column/21949/4 "2021-01-30T09:57:42Z")

</div>

[https://docs.glideapps.com/all/reference/data-editor/computed-columns/math-column](https://docs.glideapps.com/all/reference/data-editor/computed-columns/math-column)

You can see all the supported calculations for the math column here.

---

<div class="post-metadata">

### Author: ![chrisreina](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/chrisreina/32/20757_2.png) [@chrisreina](https://community.glideapps.com/u/chrisreina)
#### Post date: [January 30, 2021, 8:16pm UTC](https://community.glideapps.com/t/addin-custom-math-functions-that-take-parameters-to-a-glide-column/21949/5 "2021-01-30T20:16:31Z")

</div>

Thanks @ThinhDinh ! Do you think I’d be able to use the LOG function to represent e ?

---

<div class="post-metadata">

### Author: ![chrisreina](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/chrisreina/32/20757_2.png) [@chrisreina](https://community.glideapps.com/u/chrisreina)
#### Post date: [January 30, 2021, 8:17pm UTC](https://community.glideapps.com/t/addin-custom-math-functions-that-take-parameters-to-a-glide-column/21949/6 "2021-01-30T20:17:16Z")

</div>

It would be nice if Glide natively supported e the way that excel does

---

<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: [January 31, 2021, 12:24am UTC](https://community.glideapps.com/t/addin-custom-math-functions-that-take-parameters-to-a-glide-column/21949/7 "2021-01-31T00:24:05Z")

</div>

Have you been able to solve this? I’m not entirely sure it will work, just provided you with the functions that are currently supported by Glide.

---

<div class="post-metadata">

### Author: ![chrisreina](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/chrisreina/32/20757_2.png) [@chrisreina](https://community.glideapps.com/u/chrisreina)
#### Post date: [January 31, 2021, 2:13pm UTC](https://community.glideapps.com/t/addin-custom-math-functions-that-take-parameters-to-a-glide-column/21949/8 "2021-01-31T14:13:24Z")

</div>

Haven’t yet, thinking about spinning up a microservice to do the calculations so that I can have the full range of math expressions we need to get our result
