Help

Save the date! Join us on October 16 for our Product Ops launch event. Register here.

Re: Formula - sum of fields

1568 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Project_NP_LS
6 - Interface Innovator
6 - Interface Innovator

I have 10 fields in a table, and some contain numbers and the others either a letter or a symbol, in the same table I would like to have another field that sums up the values of the numbers only in that record. Is there a simple way/formula to do this?
Does Airtable have an equivalent formula to excel’s SUMPRODUCT & ISNUMBER?
Best
Ladi

5 Replies 5

You can try a formula like:

SUM(
  VALUE({Field 1}),
  VALUE({Field 2}),
  VALUE({Field 3})
)

If that doesn’t work, can you post a screenshot of some sample data?

This is perfect, thanks

Hello Kamille,
Another question, here is a simple base Airtable - Grid view
I would like to create 3 separate fields, one that counts up the number of DOTS in the 6 fields, one that counts the number of Ws in the 6 fields and one that counts the number of WKTS in the 6 fields.
What formula would I use for that please?
Best
Ladi

Declarative statements like {Field Name = “value” will return a 1 if true and a 0 if false. So:

SUM(
  {Field 1} = "W",
  {Field 2} = "W",
  {Field 3} = "W"
)

^ use the same idea for DOTS and WKTS.

Project_NP_LS
6 - Interface Innovator
6 - Interface Innovator

Thank you very much. One final formula question, if I have 20.3 as a number in a field, how can I extract the 20 and then the 0.3? It’s a weird question I know but I this is what I am looking to do for a specific calculation requirement for cricket