View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default Checking Range of Cells on Multiple Worksheets in the same workboo

Put the sheet names in M1:M12 and use

=SUMPRODUCT(--(T(INDIRECT("'"&M1:M12&"'!C6:CX6"))="Pass"),--(T(INDIRECT("'"&
M1:M12&"'!C7:CX7"))="Open"),N(INDIRECT("'"&M1:M12& "'!C10:CX10")))


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

<Ramesh.S; "India" <Ramesh.S, wrote in
message ...
Hi,

I have diferent Sheets for 12 months individually, Now I have to

consolidate
all the worksheet on a weekly basis based on 2 conditions, Say I woud like

to
refer the ranges c6:CX6 on the 12 sheets named as October to September and
conditions to be verified on 2 row ranges from C6 to CX6 and C7 to

CX7across
all 12 sheets and calculate the matching on the range C10 to CX10, When I

give


IF(AND(October:Septemeber!C6:CX6="Pass",October:Se ptemeber!C7:CX7="40-06"),S
UM(October:Septemeber!C10:CX10))
Gives me error message.

Please Advice,
Thanks in Advance,