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

Conditional formula - If/Or/And - Not sure which

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

Ok this seems pretty simple, but I just can’t get my head around it. I am new to formulas, so get the basics, but want to move beyond.

Fields are - Member, Age, Clearance, Expiry, Valid, Current Member, Needs attention.

Basically, if the Valid field is ‘not valid’ and the current member is ‘yes’ then the needs attention should be ‘yes’
However, if the member is not yet 18 then clearance etc is not required.

So far I have
IF( Age<18,“Not Required”,
IF(AND(Age>17, Clearance,Expiry), “Valid”, “Not Valid”))

But I would like it to only be valid if the Expiry is after ‘today’.

I really don’t know if I am explaining it well.

I have created an example table here to help explain.

1 Solution

Accepted Solutions

Hi Kel, try this out:

IF( 
	Age<18,
	"Not Required",
	IF(
		AND(
			Age>17, 
			Clearance, 
			IS_AFTER({Expiry}, TODAY())
		), 
		"Valid", 
		"Not Valid"
	)
)

See Solution in Thread

2 Replies 2

Hi Kel, try this out:

IF( 
	Age<18,
	"Not Required",
	IF(
		AND(
			Age>17, 
			Clearance, 
			IS_AFTER({Expiry}, TODAY())
		), 
		"Valid", 
		"Not Valid"
	)
)

THANK YOU! Again, your help is awesome.

I had come so close but looks like I was putting things in the wrong order.

That did the trick. Thank you so much.