Formula field calculations in Airtable

Prev Next

Multiplying in Airtable

Let's say you'd like to calculate the total wages for a team of hourly staff. You'll need a field to track hours (number field), another to track wages (currency field), and a final field (formula field) to enter as a formula.

{Hours Worked} * {Hourly Wage}

360045339694ScreenShot2019-09-04at81155PM.jpg

Subtracting in Airtable

You can accomplish similar calculations using the same formula structure when subtracting. To find the difference between wages due and wages paid, you would use a formula like the following:

{Total Wages Due} - {Total Wages Paid} 

360045339834ScreenShot2019-09-04at81835PM.jpg

Dividing in Airtable

In a different scenario, let's say that you're using Airtable to track your freelance project work. You quote a certain number of hours of service you will provide, and want to track your completion towards those hours.

{Actual Hours} / {Quoted Hours}

360046198133ScreenShot2019-09-04at82814PM.jpg

Note

To output the result of your formula as a percentage, you’ll want to be sure to click the Formatting tab in the formula field’s configuration window and select Percent under the “Format” section. Please consult the information available in this support article to learn more.

Adding in Airtable

You can add multiple fields together by separating them with a + sign. In the example below, several fields are added together to find the final invoice total for a legal department.

{Legal Consult} + {Retainer} + {Miscellaneous Fees} 

360045340274ScreenShot2019-09-04at83338PM.jpg

Adding, subtracting, multiplying, and dividing using one formula in Airtable

You can run any number of different functions within the same formula. In the example below, several different factors play into finding the final amount to charge a client on a payment plan:

  • Multiply {Consult: Hours} * {Consult {Rate}

  • Add {Retainer} and {Miscellaneous fees}

  • Subtract {Discounts}

  • Divide everything by {Num. of Payments}

All of these are built-in to a formula together in {Charge per Payment} using the formula below:

(
 ({Consult: Rate}*{Consult: Hours}) 
 + Retainer 
 + {Miscellaneous Fees}
 - {Discounts}
)
 /{Num. of Payments}

360046199913ScreenShot2019-09-04at85044PM.jpg

FAQs

How do I format the results (output) of an equation in a formula field?

Please consult the information available in this support article to learn more.