Skip to main content
Solved

Formula to Populate a Field Based on 3 Other Fields


Forum|alt.badge.img+2
  • New Participant
  • 3 replies

I need a formula to populate a field based on three other fields - where only one will have data. So in fields 2 - 4 below, only one will have data and I want that to show up in Field 1.

 

Field 1 - formula

Field 2 - Lookup from table 1

Field 3 - Lookup from table 2

Field 4 - Lookup from table 3

Best answer by Milan_Automable

You can use nested IFs in your formula. First check if the first field has a value, then if the second, etc.

 

This would look like this:

IF(
  {Lookup from table 1},
  {Lookup from table 1},
  IF(
    {Lookup from table 2},
    {Lookup from table 2},
    {Lookup from table 3}
  )
)

I'd love to explore more use-cases of Airtable and automation specific to your business, if you're interested feel free to book a free call at any time that works for you 🙂

-- Best, Milan - Automable.AI

View original
Did this topic help you find an answer to your question?

3 replies

Milan_Automable
Forum|alt.badge.img+3
  • Participating Frequently
  • 35 replies
  • Answer
  • March 14, 2025

You can use nested IFs in your formula. First check if the first field has a value, then if the second, etc.

 

This would look like this:

IF(
  {Lookup from table 1},
  {Lookup from table 1},
  IF(
    {Lookup from table 2},
    {Lookup from table 2},
    {Lookup from table 3}
  )
)

I'd love to explore more use-cases of Airtable and automation specific to your business, if you're interested feel free to book a free call at any time that works for you 🙂

-- Best, Milan - Automable.AI


Forum|alt.badge.img+2
  • Author
  • New Participant
  • 3 replies
  • March 14, 2025

Thanks! I was struggling with the nesting IF statements.


Milan_Automable
Forum|alt.badge.img+3

Happy to help! If this worked for you, please mark it as a solution so the thread will show as solved :)


Reply