View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Luke M Luke M is offline
external usenet poster
 
Posts: 2,722
Default Array Formula Syntax question...

Assuming you mean 1<x<30, we can multiply true/false checks to generate a
single output (note that this is still an array formula):

=COUNT(IF((INDIRECT(B5&"!$D$2:$D$500")1)*(INDIREC T(B5&"!$D$2:$D$500")<30)*(INDIRECT(B5&"!$E$2:$E$50 0")="UNRATED"),INDIRECT(B5&"!$C$2:$C$500")))

Non-array version:
=SUMPRODUCT((INDIRECT(B5&"!$D$2:$D$500")1)*(INDIR ECT(B5&"!$D$2:$D$500")<30)*(INDIRECT(B5&"!$E$2:$E$ 500")="UNRATED")*ISNUMBER(B5&"!$C$2:$C$500"))

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Steve P" wrote:

Hello,

I wrote the following formula:
{=COUNT(IF(INDIRECT(B5&"!$D$2:$D$500")="CURRENT",I F(INDIRECT(B5&"!$E$2:$E$500")="UNRATED",INDIRECT(B 5&"!$C$2:$C$500"))))}


The above formula works very well however, I'd like to change the "CURRENT"
parameter to an comparison operator range like: 1<x30

How should the syntax work?