# Upvote system

**URL:** https://community.glideapps.com/t/upvote-system/2641
**Category:** Ask for Help
**Created:** [December 5, 2019, 8:35am UTC](https://community.glideapps.com/t/upvote-system/2641 "2019-12-05T08:35:03Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Sandro\_Brito](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sandro_brito/32/552_2.png) [@Sandro\_Brito](https://community.glideapps.com/u/Sandro_Brito)
#### Post date: [December 5, 2019, 8:35am UTC](https://community.glideapps.com/t/upvote-system/2641/1 "2019-12-05T08:35:03Z")

</div>

Hey Guys,  
I’ve been trying to implement an upvote system where users can +1 or -1 any given entry to the app.  
I have a ratings table that has the id of the entry, whether they upvoted or downvoted (in a user friendly way) and the value that each one means (+1 or -1).  
On the entries table I have a column for the sum of upvotes and downvotes but I am struggling to find the formula for it.

Has anyone done something like this?

---

<div class="post-metadata">

### Author: ![George\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/george_b/32/534_2.png) [@George\_B](https://community.glideapps.com/u/George_B)
#### Post date: [December 5, 2019, 1:21pm UTC](https://community.glideapps.com/t/upvote-system/2641/2 "2019-12-05T13:21:59Z")

</div>

Maybe this post will give you an idea of how to do it. Make a copy of it and look at the formulas I used.

> [@How to implement star ratings - Demo \[Update: Glide released this as a native component.\]](https://community.glideapps.com/t/how-to-implement-ratings-demo/2371):
>
> In response to the topic linked below and other request for how to include some kind of rating system within a Glide app I wrote this [Ratings Demo App](https://ratingsdemo.glideapp.io). I seem to remember someone else implementing it but I couldn’t find it, so here is my take on how to do it. It’s copyable so you can take a look at the spreadsheet and the Glide components. It’s a little more work than I thought because you have to come up with an average of all ratings for a given item, but the magic of Google Sheets came thro…

---

<div class="post-metadata">

### Author: ![PRANAY\_REDDY](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pranay_reddy/32/10510_2.png) [@PRANAY\_REDDY](https://community.glideapps.com/u/PRANAY_REDDY)
#### Post date: [July 11, 2020, 1:24am UTC](https://community.glideapps.com/t/upvote-system/2641/3 "2020-07-11T01:24:53Z")

</div>

brother, have you found a way yet ?

---

<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: [July 11, 2020, 1:14pm UTC](https://community.glideapps.com/t/upvote-system/2641/4 "2020-07-11T13:14:44Z")

</div>

This is possible with the new increment feature.  
[Increment Action?!](https://community.glideapps.com/t/increment-action/10359)

Only issue is that a user can upvote/downvote infinitely. For now, best bet is a form button. Play around with it at [https://experiments.glideapp.io](https://experiments.glideapp.io)
