average in formula?

  • Thread starter Thread starter fivermsg
  • Start date Start date
F

fivermsg

how would i get the total of this equation
(((E5*1.05)/(E4*1.05))+((E6*0.89)/(E4*0.89))+((E7/E4)/(E4*60))) to
average?? meaning adding each inner equation and dividing by 3 won't
work cause sometimes these inner equations will =0 ... I want the
average of the inner equations omitting any zero values
 
=AVERAGE((E5*1.05)/(E4*1.05),(E6*0.89)/(E4*0.89),(E7/E4)/(E4*60))

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)
 
so what you are saying is that if one of those inner formulas =0 then it
would omit that one and just average the other two?
 
Revise that

=SUM((E5*1.05)/(E4*1.05)+(E6*0.89)/(E4*0.89)+(E7/E4)/(E4*60))/COUNT(E5:E7)

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

Bob Phillips said:
=AVERAGE((E5*1.05)/(E4*1.05),(E6*0.89)/(E4*0.89),(E7/E4)/(E4*60))

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

message news:[email protected]...
 
=(((E5*1.05)/(E4*1.05))+((E6*0.89)/(E4*0.89))+((E7/E4)/(E4*60)))/COUNTIF(E5:E7,">0")

OR

=SUM((E5*1.05)/(E4*1.05)+(E6*0.89)/(E4*0.89)+(E7/E4)/(E4*60))/COUNTIF(E5:E7,">0")
 
Bob Phillips said:
Revise that

=SUM((E5*1.05)/(E4*1.05)+(E6*0.89)/(E4*0.89)+(E7/E4)/(E4*60))/COUNT(E5:E7)

Presumably you could omit the two occurrences of "*1.05", and similarly of
"*0.89"?
 
No, that was my mistake, I revised it in a later post.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)
 
Are you asking that, or just stating it?

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top