# Like Calculator

**URL:** <https://community.glideapps.com/t/like-calculator/61071>\
**Category:** Ask for Help\
**Created:** [April 27, 2023, 7:52pm UTC](https://community.glideapps.com/t/like-calculator/61071 "2023-04-27T19:52:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Lever](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark_lever/32/58187_2.png) [@Mark\_Lever](https://community.glideapps.com/u/Mark_Lever)\
**Post date:** [April 27, 2023, 7:52pm UTC](https://community.glideapps.com/t/like-calculator/61071/1 "2023-04-27T19:52:16Z")

</div>

Hi,

Is there a way of calculating which items in my database has the most likes from all users? I got a user specific column that records whether someone likes, dislikes, interested or not interested in a product.

Kind regards,

Mark

---

<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:** [April 27, 2023, 8:17pm UTC](https://community.glideapps.com/t/like-calculator/61071/2 "2023-04-27T20:17:44Z")

</div>

Add an “increment number” to the action of liking an item and create a column to record these in. Then you have a count that you can easily view and do math with if needed.

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [April 27, 2023, 8:22pm UTC](https://community.glideapps.com/t/like-calculator/61071/3 "2023-04-27T20:22:42Z")

</div>

No… USC columns are only visible to the Specific user… so you can only count this specific user’s likes.

---

<div class="post-metadata">

**Author:** ![Lucas\_Pires](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lucas_pires/32/64863_2.png) [@Lucas\_Pires](https://community.glideapps.com/u/Lucas_Pires)\
**Post date:** [April 28, 2023, 2:01am UTC](https://community.glideapps.com/t/like-calculator/61071/4 "2023-04-28T02:01:10Z")

</div>

What if double-click as Instagram?

> [@new UPDATED Glidegram - social media app (follow/unfollow, unread messages & more)](https://community.glideapps.com/t/updated-glidegram-social-media-app-follow-unfollow-unread-messages-more/9293/49):
>
> [image] First Condition: If “incr\_Likes” column doesnt equal to 1 [image] Will increment “incr\_Likes” column by 1 (first tap glide just recognize the touch, incrementing only the second tap) [image] Second condition: If “incr\_Likes” column equals to 2 and Time Stamp column (user-specific) is empty [image] will: Show Notification: Liked! Increment a “Likes” column (not user-specific) by 1 and Set Columns: "is favorite?" to “incr\_Likes” (the number 1 will makes it be true) …
