Conditional multiplication of Airtable column values

Hey everyone! I’m trying to figure out how to do some fancy calculations in Airtable. What I want to do is create a new column that multiplies values from two different columns, but only if a checkbox in a third column is ticked. Is this even possible? I’ve been playing around with formulas but can’t seem to get it right. Any tips or tricks would be super helpful! I’m not a pro at Airtable, so please explain it like I’m five. Thanks in advance for your help!

Hey TomDream42, I’ve been using Airtable for a while now and I’ve dealt with similar situations. Here’s what worked for me:

Create a formula field for your new column. Use this formula:

IF({Checkbox Column}, {Column1} * {Column2}, 0)

This checks if the checkbox is ticked. If it is, it multiplies the values from Column1 and Column2. If not, it returns 0.

Pro tip: Instead of leaving it blank when the checkbox isn’t ticked, I use 0. This way, you can still use this column in other calculations without getting errors.

Also, make sure your columns are set to the right data types. The checkbox should be ‘Checkbox’, and the other two should be ‘Number’.

Let me know if you need any clarification. Airtable can be tricky at first, but once you get the hang of it, it’s super powerful!

Absolutely, this can be accomplished in Airtable. You’ll want to create a formula field for your new column. The formula should use an IF statement to check the checkbox condition before performing the multiplication. Here’s a basic structure:

IF({Checkbox Column}, {Column 1} * {Column 2}, ‘’)

Replace the column names in curly braces with your actual column names. This formula will multiply the values from Column 1 and Column 2 only when the checkbox is ticked. If it’s not ticked, the field will remain blank.

Remember to adjust data types if needed. For instance, ensure your checkbox column is indeed a checkbox type, and the columns you’re multiplying contain numerical values. Hope this helps with your calculations!

Yo TomDream42! totally doable in airtable. use an IF statement in ur formula field. something like:

IF(Checkbox, Column1 * Column2, ‘’)

this checks if checkbox is ticked. if yes, multiplies column1 and 2. if not, shows nothin. hope this helps, mate!