Share via

Array Formula with multiple conditions to same column

Anonymous
2016-12-13T11:35:16+00:00

Hello

I've recently learned that excel also has array formulas.

I am using the following array formula:

{=QUARTILE(IF(B:B=1,IF(C:C="A",IF(D:D="MAF3",E:E))),1)}

My question is as follows...

I want to add additional conditions to column D. For example, MAF3, MAF4 AND MAF5 at the same time.

How do I accomplish this in the current formula?

Thank you so much

Kind regards

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2016-12-13T12:03:55+00:00

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

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful