Look things up

Look up using two conditions

=XLOOKUP(1,(A2:A5=E2)*(B2:B5=F2),C2:C5,"Not found")

How it works in Excel

The idea in general

Instead of searching for one thing, you mark the rows that pass both tests and take the first marked row.

What I assumed

Check the result on your own data before relying on it.

Related

Ask another question