• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Average of columns

yaelcohen

Member
Hello Expert,

I attached a file with my question as tried to make an average for the columns but there is a problem

Please help and thanks a lot!!!
 

Attachments

Hi ,

I am not able to understand how you want to calculate the average.

Going by the conditions which need to be satisfied , only the first two rows of data qualify to be used for the calculations.

Now , what is the definition of average here ?

1. AVERAGE((E3 / (F3 + G3)) + (E4 / (F4 + G4)))

2. (E3 + E4) / (F3 + G3 + F4 + G4)

Narayan
 
OK, I am sorry I was not clear enough.

The formula for the average is as you mentioned above:
AVERAGE((E3 / (F3 + G3)) + (E4 / (F4 + G4)))

You are right and this is my mistake, only the first two rows should actually taken into account.

Thanks a lot!
 

Attachments

and the second option for the firms that are good and in growth..
complete the formula with CTRL+SHIFT+ENTER at the end..
=AVERAGE(IF(C3:C8="Y",IF(D3:D8="Y",E3:E8/(F3:F8+G3:G8))))
 
Back
Top