Help

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

Is a child between 5 and 16 years? Formula help

Topic Labels: Formulas
Solved
Jump to Solution
356 2
cancel
Showing results for 
Search instead for 
Did you mean: 

I am working on a database of the individuals in our feeding programme. In December we host an annual Christmas party for the kids between 5 and 16. How do I write a formula to identify these children?
I have tried variations:
IF({Current Age}>4 AND {Current Age}<17), ‘invite’)
or
IF( AND({Current Age}>4 {Current Age}<17), ‘invite’)

and I just keep getting error messages. Clearly something is wrong with my format but I don’t know how to fix it. Please help :slightly_smiling_face:

1 Solution

Accepted Solutions

You’re close! Try this:

IF(AND({Current Age} > 4, {Current Age} < 17), "Invite")

Your second variation is closest, you’re just missing a comma between each expression in your AND() statement.

Hope this helps!

See Solution in Thread

2 Replies 2

You’re close! Try this:

IF(AND({Current Age} > 4, {Current Age} < 17), "Invite")

Your second variation is closest, you’re just missing a comma between each expression in your AND() statement.

Hope this helps!

This forum is amazing - I knew someone would know how to do it. That is working perfectly, thank you!