A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi.
Welcome to the world of ARRAY formula. First off ARRAY formula are slow and particularly so if as you have done and use full columns. So avoid the use of full columns. In this formula I've cut it down to 15 rows, use more if you need to but only use sufficient to catch all your data.
=QUARTILE(IF(B1:B15=1,IF(C1:C15="A",IF(ISNUMBER(MATCH(D1:D15,{"MAF3","MAF4","MAF5"},0)),E1:E15))),1)
Remember CTRL + Shift + Enter