ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Checking Range of Cells on Multiple Worksheets in the same workboo (https://www.excelbanter.com/excel-discussion-misc-queries/114003-checking-range-cells-multiple-worksheets-same-workboo.html)

Ramesh.S, India

Checking Range of Cells on Multiple Worksheets in the same workboo
 
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"),SUM(October:Septemeber!C10:CX10))
Gives me error message.

Please Advice,
Thanks in Advance,

Bob Phillips

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,





All times are GMT +1. The time now is 10:48 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com