Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

Formula for applying a condition based on a Single Select options of another cell

Topic Labels: Formulas
546 1
Showing results for 
Search instead for 
Did you mean: 

I’m setting up a bookkeeping system for my business.

What I need is that when I select the option “Expense” from the Single Select option in the Type field, I want to add a negative sign with the Received Amount field so that it is subtracted from the sum.

I’m attaching a screenshot for clarity.

I’d really appreciate it if someone can help me with the formula for this.

Thanks a lot :slightly_smiling_face:

1 Reply 1

Hi Ghazi. Try this…

IF({Type}='Expense', -1*{Total}, {Total})

Good luck.