Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Averaging two cells in different worksheets 1

Status
Not open for further replies.

americsg1

Technical User
Dec 2, 2002
12
US
Hello,

I'm trying create a formula on a summary Excel worksheet that will average cells from different worksheets within the same workbook. But as the formula stands now I'm getting errors.

Here's the formula I thought would work:

=IF('FY07 CLAIMS'!I27,'FY07 CUST SVC CNCL'!I28=0,0, AVERAGE('FY07 CLAIMS'!I27,'FY07 CUST SVC CNCL'!I28))

-Scott
 
hi,

you need an OR...
[tt]
=IF(OR('FY07 CLAIMS'!I27,'FY07 CUST SVC CNCL'!I28)=0,0, AVERAGE('FY07 CLAIMS'!I27,'FY07 CUST SVC CNCL'!I28))
[/tt]


Skip,
[sub]
[glasses] [red][/red]
[tongue][/sub]
 
Thank you so much, it will avgerge the data no but if the source cells are null I get the #VALUE error in the summary sheet.

I thought if I used the logical test it would make the summary cell blank?







-Scott
 



Sorry, had my test in the wrong spot...
[tt]
=IF(OR('FY07 CLAIMS'!I27=0,'FY07 CUST SVC CNCL'!I28=0),0, AVERAGE('FY07 CLAIMS'!I27,'FY07 CUST SVC CNCL'!I28))[/tt]


Skip,
[sub]
[glasses] [red][/red]
[tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top