Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default IF function with Array Formula

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.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default IF function with Array Formula

Hi
try the following non array formula
=IF(AND(SUMMENPRODUKT(($F$3:$O$3="X")*(F7:O7="X")) 0,Q7="BAD"),"Yes","N
o")

--
Regards
Frank Kabel
Frankfurt, Germany


Moreaudjd wrote:
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.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default IF function with Array Formula

Auf englisch:

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

(high school Deutsch!)


Frank Kabel wrote:

Hi
try the following non array formula
=IF(AND(SUMMENPRODUKT(($F$3:$O$3="X")*(F7:O7="X")) 0,Q7="BAD"),"Yes","N
o")

--
Regards
Frank Kabel
Frankfurt, Germany

Moreaudjd wrote:
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.


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default IF function with Array Formula

Thanks Dave.
Got lost with my translation this evening

--
Regards
Frank Kabel
Frankfurt, Germany


Dave Peterson wrote:
Auf englisch:


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

(high school Deutsch!)


Frank Kabel wrote:

Hi
try the following non array formula

=IF(AND(SUMMENPRODUKT(($F$3:$O$3="X")*(F7:O7="X")) 0,Q7="BAD"),"Yes","N
o")

--
Regards
Frank Kabel
Frankfurt, Germany

Moreaudjd wrote:
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.


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default IF function with Array Formula

Frank,

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

Appreciated.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get array formula to work in MATCH function Chas Grad Excel Worksheet Functions 5 May 12th 08 09:19 PM
Array Formula Using LOOKUP function. luchshel Excel Worksheet Functions 9 June 4th 07 07:32 PM
Array formula on INDEX function not working vsoler Excel Worksheet Functions 8 June 3rd 07 07:14 PM
Use of Offset function in array formula scabHead Excel Worksheet Functions 4 December 23rd 06 01:16 AM
Using AND function within an array formula Andrew L via OfficeKB.com Excel Worksheet Functions 3 August 1st 05 06:49 PM


All times are GMT +1. The time now is 05:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"