Hello everyone. Am a basic excel user and need help in this requirement. I have huge and need to

Condition is, if Cell A1 having the value P1 and A2 is >= 30 then result is Compliant else Noncompliant, if Cell A1 having the value P2 and A2 is >= 60 then result is Compliant else Noncompliant, if Cell A1 having the value P3 and A2 is >= 90 then result is Compliant else Noncompliant