Skip to main content

Help with IF Formula/Is Blank, Is Not Blank

  • August 17, 2019
  • 2 replies
  • 56 views

Forum|alt.badge.img+9

As a relative novice with IF Formulas, I am hoping for help with the following.

My table has columns for First Name, Last Name and With First, With Last. I am using Airtable to track RSVPs and would like a Formula field that provides the following result.

When Last Name is not blank and With Last is not blank, enter 2. (John Smith is bringing Sally Smith, so 2 people are attending).

When Last Name is not blank and With Last is blank, enter 1. (John Smith is coming by himself, so 1 person is attending).

I appreciate any guidance on how to achieve this result.

Thank you!

2 replies

  • Participating Frequently
  • August 18, 2019

Hi John,

Try this:
IF({Last Name},IF({With Last},2,1),0)


Forum|alt.badge.img+9
  • Author
  • Known Participant
  • August 19, 2019

Hi John,

Try this:
IF({Last Name},IF({With Last},2,1),0)


Thanks so much, Claudio! This worked like a charm. Cheers!

John