I’m currently working with Airtable, which is similar to Excel but has its own unique formula system. I am facing challenges with a specific formula I need to implement.
I have three categories: UE, PE, and EE, corresponding to the columns GradeF, ZipcodeF, and SchoolF. The formula will be applied in the ‘Eligible’ column. My objective is as follows: when GradeF is ‘UE’, it should result in ‘UE’. If GradeF is ‘PE’, I need to check if either ZipcodeF or SchoolF is ‘EE’ or ‘PE’; if any of them qualify, it should return ‘PE’, otherwise ‘UE’. If GradeF is ‘EE’, I want to check if ZipcodeF or SchoolF is ‘EE’; if true, it should yield ‘EE’; otherwise, it should return ‘UE’.
Here’s the formula I crafted:
IF(GradeF = 'UE', 'UE', IF(GradeF = 'PE', IF(OR(ZipcodeF = 'EE', ZipcodeF = 'PE', SchoolF = 'EE', SchoolF = 'PE'), 'PE', 'UE'), IF(GradeF = 'EE', IF(OR(ZipcodeF = 'EE', SchoolF = 'EE'), 'EE', 'UE', ''))))