The Airtable Community will undergo scheduled maintenance on September 17 from 10:00 PM PST to 11:15 PM PST. During this period, you may experience temporary disruptions. We apologize for any inconvenience and appreciate your understanding.

# Re: Calculate Percentage using Total From Column

5655 0
cancel
Showing results for
Did you mean:
6 - Interface Innovator

So I was able to write out a simple formula in a table to see what percentage of the people in that row participated out of the total number of people in the table, but I had to manually enter the total number of people - the formula looks like this - ({# of Participants}/433)*100
It works, but the issue is that every time we have more participants, I’ll need to update the 433 number. How can I get this to update automatically every time a new person is added to the total?

Thanks!

9 Replies 9
13 - Mars

I guess it depends on where that `433` comes from. :winking_face:

Is that the number of records in the table, or is that a population number also included in the record (that is, does the record have a `{# of Participants}` field and a `{Total People}` field)? (If the former, I have to wonder a bit about your data model, since if each record = 1 person, `{# of participants}` should only equal either `0` or `1`.)

If this is the same base as mentioned in your other post, I’ll take a look at this issue once you can provide a shared link to the base. If it’s a different base, I’ll need a link to it, as well.

Thanks!

6 - Interface Innovator

That is where the number is coming from, from the sum at the bottom. There isn’t a {total people} field because this is counting from another table. Are the screenshots enough to help?

4 - Data Explorer

I have the same question. So bumping for response.

The easiest way to accomplish this is to use the old trick of linking every record in the table to a single record in another table — called, let’s say, `[Calc]`. In that single `[Calc]` record, define a rollup field that rolls up `{# of Participants}` with an aggregation function of `SUM(values)`. Pull that value back to the main table using a lookup or rollup field.

4 - Data Explorer

I’m trying to perform what should be a pretty simple operation, but I can’t quite get it to work in Airtable. I have a column of donations and I’d like to display, somewhere, the sum of these donations as percentage of a set goal. In Excel, I’d have something like =SUM (A2:A10)/100, but I’m not seeing how I can do that in a cell or in a block.

TIA!

13 - Mars

I think you need this:

4 - Data Explorer

Thank you - this was just the walk through I needed.

8 - Airtable Astronomer

Yes, does seem to be a simple question, but I'm not seeing what I'd think would be right for my case, either:

For my issue, I have #invited, #who showed up, and calculation of %showed up.  Simple math but apparently, not the case LOL.

5 - Automation Enthusiast

I also want to calculate a percentage of a record count, on an interface page. All I want is the percentage of converted clients from a total list of leads. It should be really simple, but can't see any simple answer here.