SOLVED

Help to make an array formula which select only information fitting certain criteria

Iron Contributor

Hi,

 

I have a large number of products and criteria. I wish to show the term "yes" for restriciiton if my result breaches one of my tolerance criteria. Due to the large number of criteria and products, i believe i need an index match array formula or similar. I have attached an example.

 

Can someone please assist.

 

Thank you kindly for your assistance.

 

5 Replies

@calof1 

I inserted a row at row 25

I then copied your rates from D9:D14 and Transposed them to D26:J26

(You are missing YEN from your list so I inserted that at row 12)

 

The formula in I5 then becomes

=IF(SUMPRODUCT(--(D30>$D$26)+(E30>$E$26)+(F30>$F$26)+(G30>$G$26)+(H30>$H$26)+(I30>$I$26)+(J30>$J$26))>0,"yes","")

and can be copied down through I6:I23

 

@calof1 

As variant that could be

=IF(SUMPRODUCT(--($D28:$I28>TRANSPOSE($D$9:$D$14))), "yes","")

assuming sequences are in same order

 

best response confirmed by calof1 (Iron Contributor)
Solution

Hi @Sergei Baklan 

 

Thank you for the message, the formula appears to work well for my needs.

 

Much appreciated.

Hi@Roger Govier 

 

Thank you for the message. The formula has worked well, and if you are interested and array formula also works well for this scenario.

 

Thank you for your time, much appreciated.

@calof1 

Hi

Thank you for your response.

Actually, both formulas are array formulas using SUMPRODUCT()

Sergei's solution is more elegant and the best.

1 best response

Accepted Solutions
best response confirmed by calof1 (Iron Contributor)
Solution

Hi @Sergei Baklan 

 

Thank you for the message, the formula appears to work well for my needs.

 

Much appreciated.

View solution in original post