View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.newusers
pjr pjr is offline
external usenet poster
 
Posts: 10
Default How can I place more than 30 arguments in an average function?

I have four columns of information, classified in up to eight different
categories. The categories are not listed one after the other, so the Average
formula needs to pull multiple cells from each of the four columns without
them being in a range. I've been using the formula (just an example):
=AVERAGE(a1,a4,a5:a8,b1...) but I have more than 30 inputs.

After reading your response I attempted the formula:
=AVERAGE(AVERAGE(a1,a4,a5:a8,b1),AVERAGE(c1,c4,c5: c8,d1))

But this gave me what I think is an incorrect answer. Did I understand your
response correctly?

"Mike H" wrote:

Hi,

There are several solutions but due to the lack of data this may not be the
best but it may help:-

=SUM(SUM(Ref1,Ref2,up to 30),SUM(Ref31,Ref32,up to another
30))/SUM(COUNT(Ref1,Ref2,...),COUNT(Ref31,Ref32,...))

You can have up to 30 cell references in each sum and count

Mike

"pjr" wrote:

Is it possible to have more than thirty arguments in a single average
function? The arguments are not contiguous, so i can't just make them into
data points...

What should I do?