# How to add up rows

**URL:** https://community.glideapps.com/t/how-to-add-up-rows/70551
**Category:** Ask for Help
**Created:** [February 6, 2024, 1:03pm UTC](https://community.glideapps.com/t/how-to-add-up-rows/70551 "2024-02-06T13:03:12Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Marcus29](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/marcus29/32/70514_2.png) [@Marcus29](https://community.glideapps.com/u/Marcus29)
#### Post date: [February 6, 2024, 1:03pm UTC](https://community.glideapps.com/t/how-to-add-up-rows/70551/1 "2024-02-06T13:03:12Z")

</div>

![help](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/c/0cc7798a7b191144759e5045c6f2c3bb60797054.png)  
So I have an idea of how to use the roll-up function but I want the total to go inline below the revenue column. Is there a way to get my total in line and get rid of the repeating total column?

---

<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: [February 6, 2024, 1:20pm UTC](https://community.glideapps.com/t/how-to-add-up-rows/70551/2 "2024-02-06T13:20:50Z")

</div>

Add an IF column. If it’s the total line, then return total, else return revenue. Then use the IF result in your app.

---

<div class="post-metadata">

### Author: ![Marcus29](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/marcus29/32/70514_2.png) [@Marcus29](https://community.glideapps.com/u/Marcus29)
#### Post date: [February 7, 2024, 11:12am UTC](https://community.glideapps.com/t/how-to-add-up-rows/70551/3 "2024-02-07T11:12:30Z")

</div>

![Screenshot 2024-02-07 051056](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/8/58d1372483e5e667fdd4d03c81de2d6440839a1b.png)  
I am still a little confused about where to place my inputs for this if column.

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [February 7, 2024, 11:18am UTC](https://community.glideapps.com/t/how-to-add-up-rows/70551/4 "2024-02-07T11:18:40Z")

</div>

- If Month is Total, then Rollup Column
