# Using SUM function?

**URL:** <https://connect.superhuman.com/t/using-sum-function/25955>\
**Category:** Ask the Community\
**Created:** [September 29, 2021, 6:59pm UTC](https://connect.superhuman.com/t/using-sum-function/25955 "2021-09-29T18:59:33Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miguel\_Gomez\_Limmert](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/miguel_gomez_limmert/32/16314_2.png) [@Miguel\_Gomez\_Limmert](https://connect.superhuman.com/u/Miguel_Gomez_Limmert)\
**Post date:** [September 29, 2021, 6:59pm UTC](https://connect.superhuman.com/t/using-sum-function/25955/1 "2021-09-29T18:59:33Z")

</div>

Hey!

This is maybe a stupid question but how can I go about using a normal ‘SUM’ like in Excel / Google Spreadsheet?

Normally, i will =SUM in a cell and select which ones or range I will like to perform the SUM (f.e. from C2:C14) but in Coda I can’t figure it out? Shouldn’t it be simple?

---

<div class="post-metadata">

**Author:** ![Piet\_Strydom](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/piet_strydom/32/19269_2.png) [@Piet\_Strydom](https://connect.superhuman.com/u/Piet_Strydom)\
**Post date:** [September 29, 2021, 7:21pm UTC](https://connect.superhuman.com/t/using-sum-function/25955/2 "2021-09-29T19:21:59Z")

</div>

Hi Miguel,

Coda works very different to spreadsheets. A formula applies to a column, not to a cell.

Rather think of Coda tables as Access tables, rather than Excel sheets. Coda is a completely new product with a mixture of features from Access, Word and Excel.

Regards.  
Piet

---

<div class="post-metadata">

**Author:** ![Scott\_Collier-Weir](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/scott_collier-weir/32/29677_2.png) [@Scott\_Collier-Weir](https://connect.superhuman.com/u/Scott_Collier-Weir)\
**Post date:** [September 29, 2021, 7:24pm UTC](https://connect.superhuman.com/t/using-sum-function/25955/3 "2021-09-29T19:24:03Z")

</div>

If you give a more specific use case we can throw together some examples of how you can sum different numbers! There are many different ways to do it depending on your use case

---

<div class="post-metadata">

**Author:** ![Miguel\_Gomez\_Limmert](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/miguel_gomez_limmert/32/16314_2.png) [@Miguel\_Gomez\_Limmert](https://connect.superhuman.com/u/Miguel_Gomez_Limmert)\
**Post date:** [September 30, 2021, 7:19am UTC](https://connect.superhuman.com/t/using-sum-function/25955/4 "2021-09-30T07:19:24Z")

</div>

hey there! Thanks a lot @Piet_Strydom and @Scott_Collier-Weir ;

So, this is for a personal work project we have in my family and I want to build a Income/Expense report, very simple. I am a bit using Agile and I am really "starting something without knowing really the outcome 🙂 "  
As a side, another goal is to lear coda as I use it a lot on my actual work.

Anyway, i threw a quick table so you can help me out (and thanks again @Scott_Collier-Weir !)  
As you can see, I just want to add the daily income/expense we are making and in the “Balance” table output the actual balance.

https://coda.io/embed/2YORv04TmA?viewMode=embed

---

<div class="post-metadata">

**Author:** ![Scott\_Collier-Weir](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/scott_collier-weir/32/29677_2.png) [@Scott\_Collier-Weir](https://connect.superhuman.com/u/Scott_Collier-Weir)\
**Post date:** [September 30, 2021, 2:56pm UTC](https://connect.superhuman.com/t/using-sum-function/25955/5 "2021-09-30T14:56:38Z")

</div>

Changed the document itself! Take a look into the column formulas to see how I did it and feel free to write back if you have any questions!

I also changed your “Name” column in the Month to manually calculate based off your “date” input using the .MonthName() formula

---

<div class="post-metadata">

**Author:** ![o\_o](https://avatars.discourse-cdn.com/v4/letter/o/9dc877/32.png) [@o\_o](https://connect.superhuman.com/u/o_o)\
**Post date:** [September 13, 2023, 7:02pm UTC](https://connect.superhuman.com/t/using-sum-function/25955/6 "2023-09-13T19:02:56Z")

</div>

Did you ever get a straight/clear answer to this because I’m wondering the same thing. I just want to add the numbers in a column and have the total listed at the bottom of the column.

So if column 9 has the following entries 3,4,7,10, how to I perform the operation 3+4+7+10 and get the sum at the bottom?

No one expects Coda to behave the same as Excel, which is why we’re using Coda instead of Excel, but how hard is it to perform that operation that instead of an answer you received platitudes. 😁

---

<div class="post-metadata">

**Author:** ![Piet\_Strydom](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/piet_strydom/32/19269_2.png) [@Piet\_Strydom](https://connect.superhuman.com/u/Piet_Strydom)\
**Post date:** [September 15, 2023, 12:38am UTC](https://connect.superhuman.com/t/using-sum-function/25955/7 "2023-09-15T00:38:15Z")

</div>

Did you check the document where Scott created the examples?

---

<div class="post-metadata">

**Author:** ![o\_o](https://avatars.discourse-cdn.com/v4/letter/o/9dc877/32.png) [@o\_o](https://connect.superhuman.com/u/o_o)\
**Post date:** [September 15, 2023, 1:26am UTC](https://connect.superhuman.com/t/using-sum-function/25955/8 "2023-09-15T01:26:00Z")

</div>

Redacted post entered in error.

---

<div class="post-metadata">

**Author:** ![Piet\_Strydom](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/piet_strydom/32/19269_2.png) [@Piet\_Strydom](https://connect.superhuman.com/u/Piet_Strydom)\
**Post date:** [September 15, 2023, 3:10am UTC](https://connect.superhuman.com/t/using-sum-function/25955/9 "2023-09-15T03:10:10Z")

</div>

Here is the formula from the document:

 ![image](https://global.discourse-cdn.com/coda1/original/3X/8/2/824bd39ab19a8ba6540c628dc0eaaf0f178ee578.png)

I have added another alternative, which is the following. This is in the same table, as opposed to the previous example which uses a summary table.

 ![image](https://global.discourse-cdn.com/coda1/original/3X/4/f/4f4abc61964035a02f8b66c8951b839de969486a.png)

---

<div class="post-metadata">

**Author:** ![o\_o](https://avatars.discourse-cdn.com/v4/letter/o/9dc877/32.png) [@o\_o](https://connect.superhuman.com/u/o_o)\
**Post date:** [September 15, 2023, 4:01am UTC](https://connect.superhuman.com/t/using-sum-function/25955/10 "2023-09-15T04:01:48Z")

</div>

Redacted post entered in error.

---

<div class="post-metadata">

**Author:** ![Romero\_Mckay](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/romero_mckay/32/44734_2.png) [@Romero\_Mckay](https://connect.superhuman.com/u/Romero_Mckay)\
**Post date:** [November 22, 2024, 9:46pm UTC](https://connect.superhuman.com/t/using-sum-function/25955/11 "2024-11-22T21:46:15Z")

</div>

can someone direct me to the docs please? I still have no clue how to do this I just want to add up numbers in specific cells and have a total in a cell of my choosing.

---

<div class="post-metadata">

**Author:** ![Piet\_Strydom](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/piet_strydom/32/19269_2.png) [@Piet\_Strydom](https://connect.superhuman.com/u/Piet_Strydom)\
**Post date:** [November 22, 2024, 9:59pm UTC](https://connect.superhuman.com/t/using-sum-function/25955/12 "2024-11-22T21:59:49Z")

</div>

Hi Romero

> [@Romero\_Mckay](#):
>
> can someone direct me to the docs please?

Not sure what you mean here? You can click on the link to the doc in the post by Miguel above. It contains two different ways to get a sum of values.

> [@Romero\_Mckay](#):
>
> add up numbers in specific cells and have a total in a cell of my choosing.

Can you elaborate? Cell based formulas referencing other cells sounds more like an Excel topic. Formulas in Coda are column based, or alternatively canvas based.

---

<div class="post-metadata">

**Author:** ![Romero\_Mckay](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/romero_mckay/32/44734_2.png) [@Romero\_Mckay](https://connect.superhuman.com/u/Romero_Mckay)\
**Post date:** [November 23, 2024, 7:23pm UTC](https://connect.superhuman.com/t/using-sum-function/25955/13 "2024-11-23T19:23:22Z")

</div>

> [@Piet\_Strydom](#):
>
> Cell based formulas referencing other cells sounds more like an Excel topic. Formulas in Coda are column based, or alternatively canvas based.

Okay, so I guess I can’t do what I need to in Coda. I have some data in a table, and I wanted to add a few calculations at the bottom, like the total, profit margin, etc. I’m using Coda as a business planning tool and wanted to do some basic calculations on one of the pages.

Thanks for replying

---

<div class="post-metadata">

**Author:** ![Pablo\_DV](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/pablo_dv/32/49028_2.png) [@Pablo\_DV](https://connect.superhuman.com/u/Pablo_DV)\
**Post date:** [November 23, 2024, 8:33pm UTC](https://connect.superhuman.com/t/using-sum-function/25955/14 "2024-11-23T20:33:25Z")

</div>

Are you by any chance a colleague of Fiona? 😄

> [@Create Actual Spreadsheets Inside Coda Documents](https://connect.superhuman.com/t/create-actual-spreadsheets-inside-coda-documents/31174/18):
>
> The lack of flexibility in Coda is making me tear my hair out! I need rows, columns, and the ability to highlight what would be cells in different colours; see attached example here. The powers that be have paid for Coda for us to use as a single point of information and sharing Google docs or Excel on Microsoft 365 is no longer an acceptable option. I don’t know if there is a solution for this, but I just needed to vent my frustration. The information here is all in the public domain, so I’m no…

> [@Romero\_Mckay](#):
>
> Okay, so I guess I can’t do what I need to in Coda

You can definitely do that and much more, just not the way you are used to. Coda works more like a database.

If you are interested in learning you can start here: [Transitioning from Excel - Part 1: Layout | Coda Help Center](https://help.coda.io/en/articles/1833211-transitioning-from-excel-part-1-layout)

Learning this way of thinking will help you not only with Coda but with miriads if other tools.

Hope this helps,

Pablo

---

<div class="post-metadata">

**Author:** ![Romero\_Mckay](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/romero_mckay/32/44734_2.png) [@Romero\_Mckay](https://connect.superhuman.com/u/Romero_Mckay)\
**Post date:** [November 24, 2024, 2:00am UTC](https://connect.superhuman.com/t/using-sum-function/25955/16 "2024-11-24T02:00:00Z")

</div>

I think the problem for me is that you can’t use Coda formulas inside a cell, which makes displaying data a bit messy in my opinion. In the Coda docs, the solution seems to be moving the data and calculations you want outside the table. In my mind, a “table” is what you’d use in Google Sheets or Excel, so I was trying to use it the same way.

In my case, I have three cell items, and I want to have a unit cost next to them. In Google Sheets or Excel, this would be a super easy process of hitting “=” and doing your calculations. In Coda, I don’t think you can do this because you can’t use formulas inside a cell.

 ![Screenshot 2024-11-24 at 1.55.05 am](https://global.discourse-cdn.com/coda1/original/3X/1/5/1516ac951b8cb67658c046d5d0e396ef041ef855.png)

---

<div class="post-metadata">

**Author:** ![Pablo\_DV](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/pablo_dv/32/49028_2.png) [@Pablo\_DV](https://connect.superhuman.com/u/Pablo_DV)\
**Post date:** [November 24, 2024, 7:03am UTC](https://connect.superhuman.com/t/using-sum-function/25955/17 "2024-11-24T07:03:35Z")

</div>

> [@Romero\_Mckay](#):
>
> In Coda, I don’t think you can do this because you can’t use formulas inside a cell.

In spreadsheets the minimal unit is the cell, while in databases (and Coda) is the row. That means you cannot use different formulas within different ‘cells’ of a column, but in the great majority of cases it’s not necessary after restructuring a bit your data. All the apps you use in your phone and your computer run databases under the hood and not spreadsheets, because you can do so much more with the data once you adapt to this new way of thinking.

In your example you seem to want to create formulas with different percentages ‘hard-coded’ within it? Why not put those percentages in a separate column? Then the formula is just `kg * percentage` for all the rows.

---

<div class="post-metadata">

**Author:** ![Romero\_Mckay](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/romero_mckay/32/44734_2.png) [@Romero\_Mckay](https://connect.superhuman.com/u/Romero_Mckay)\
**Post date:** [November 24, 2024, 9:25pm UTC](https://connect.superhuman.com/t/using-sum-function/25955/18 "2024-11-24T21:25:30Z")

</div>

The minimal unit being a column is the issue. I was just giving a basic example. In the case of my snapshot, using a column-based formula would work, but if you wanted to do something more complicated, you’d hit a roadblock. Sometimes, you want different formulas in different cells based on factors that aren’t easily expressed. If they allowed cell-based formulas, it would enable more complex operations. They even add a notice there, so they’re aware some people may want to edit things in a more advanced way.

 ![Screenshot 2024-11-24 at 9.23.40 pm](https://global.discourse-cdn.com/coda1/original/3X/7/8/7816446df44988564213de0d52878dea3a38efc9.png)  
things

---

<div class="post-metadata">

**Author:** ![Pablo\_DV](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/pablo_dv/32/49028_2.png) [@Pablo\_DV](https://connect.superhuman.com/u/Pablo_DV)\
**Post date:** [November 24, 2024, 9:47pm UTC](https://connect.superhuman.com/t/using-sum-function/25955/19 "2024-11-24T21:47:54Z")

</div>

Sorry, but you really are not being ‘advanced’. I guess they are forcing you to use Coda, it must be hell if you are not up to learning something new. Good luck.

---

<div class="post-metadata">

**Author:** ![Romero\_Mckay](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/romero_mckay/32/44734_2.png) [@Romero\_Mckay](https://connect.superhuman.com/u/Romero_Mckay)\
**Post date:** [November 24, 2024, 10:35pm UTC](https://connect.superhuman.com/t/using-sum-function/25955/20 "2024-11-24T22:35:52Z")

</div>

Nah, nobody is forcing me. I’m a developer building a startup, and I want to support Coda. Column-based formulas are great, but the lack of cell-based formulas is limiting when you want to do more complex things, so I’m having to go to extreme lengths to work around it.

---

<div class="post-metadata">

**Author:** ![Piet\_Strydom](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/piet_strydom/32/19269_2.png) [@Piet\_Strydom](https://connect.superhuman.com/u/Piet_Strydom)\
**Post date:** [November 24, 2024, 11:43pm UTC](https://connect.superhuman.com/t/using-sum-function/25955/21 "2024-11-24T23:43:00Z")

</div>

> **[Coda for Google users](https://coda.io/resources/courses/coda-for-google-users)**
>
> An introduction to Coda for users familiar with the Google suite.

[Next page](https://connect.superhuman.com/t/using-sum-function/25955.md?page=2)
