View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
xvfcc1 xvfcc1 is offline
external usenet poster
 
Posts: 4
Default IF across multiple worksheets

I am not getting this to work. I have additional data in column S - does this
make a difference?

"Bob Phillips" wrote:

=SUMPRODUCT(SUMIF(INDIRECT("Sheet"&ROW(INDIRECT("1 :3"))&"!$H$3:$H$1002"),"Pe
rformer1",INDIRECT("Sheet"&ROW(INDIRECT("1:3"))&"! $S$3:$S$1002")))/
SUMPRODUCT(COUNTIF(INDIRECT("Sheet"&ROW(INDIRECT(" 1:3"))&"!$H$3:$H$1002"),"P
erformer1"))

--
HTH

Bob Phillips

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

"xvfcc1" wrote in message
...
I have a workbook that contains 3 worksheets, one for each vendor site. I

am
trying to average delivery time (column R) across all 3 sites based on

which
performer handled the request (column H). Is this possible?

I am writing a formula that looks like this:


=AVERAGE(IF(Sheet1:Sheet3!$H$3:$H$1002="Performer1 ",Sheet1:Sheet3!$S$3:$S$10
02))

However, this is not working. I also have tried this:


=AVERAGE(IF(Sheet1!$H$3:$H$1002,Sheet2!$H$3:$H$3:$ H$1002,Sheet3!$H$3:$H$1002
="Peformer1",Sheet1!$R$3:$R$1002,Sheet2!$R$3:$R$10 02,Sheet3$R$3:$R$1002))

This is not working either. Is this something that can be done or should I
just do a statistical summary sheet and run the formulas from there?