IF function with Array Formula

  • Thread starter Thread starter Moreaudjd
  • Start date Start date
M

Moreaudjd

Hi,

I would like to know if there is an easy way to combine the following:

In Cell F7, there is an array formula:
{=(SUM(NOT($F$3:$O$3="X")*(F7:O7="X"))=0)}

In Cell F6, there is an IF statement:
IF(AND(IF(F7=TRUE,IF(Q7<>"BAD",TRUE,FALSE),FALSE)),"Yes","No")

Is there a possibility to combine both of these formula into one ?
If not, a VBA function can probably do it, but how do you translate the array
formula shown above into a VBA function ?

Thanks a lot for your time & help.
 
Hi
try the following non array formula
=IF(AND(SUMMENPRODUKT(($F$3:$O$3="X")*(F7:O7="X"))>0,Q7="BAD"),"Yes","N
o")
 
Auf englisch:

=IF(AND(SUMPRODUCT(($F$3:$O$3="X")*(F7:O7="X"))>0,Q7="BAD"),"Yes","No")

(high school Deutsch!)
 
Frank,

Thanks a lot for the good hints.
I had to make a small modification, but it works !!!

Appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top