Help

Is a child between 5 and 16 years? Formula help

Topic Labels: Formulas
Solved
Jump to Solution
1112 2
cancel
Showing results for 
Search instead for 
Did you mean: 
Kate_Jacobs
5 - Automation Enthusiast
5 - Automation Enthusiast

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
AlliAlosa
10 - Mercury
10 - Mercury

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
AlliAlosa
10 - Mercury
10 - Mercury

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!