msharma864512
Member
Hi
I want to calculate average using multiple conditions.
In the attached spreadsheet, I want to calculate average EBITDA margin for all sub-sectors by removing outliers (for e.g. top 5 and bottom 5 data of a that particular sector).
For e.g if we have to calculate the industry average in cell D2, then the industry average would be for the companies which are coming under Retail, and it should also exclude top 5 and bottom 5 EBITDA margin of companies coming under Retail.
Hence for all the companies coming under a particular sub-sector, their industry average should be same.
I want to calculate average using multiple conditions.
In the attached spreadsheet, I want to calculate average EBITDA margin for all sub-sectors by removing outliers (for e.g. top 5 and bottom 5 data of a that particular sector).
For e.g if we have to calculate the industry average in cell D2, then the industry average would be for the companies which are coming under Retail, and it should also exclude top 5 and bottom 5 EBITDA margin of companies coming under Retail.
Hence for all the companies coming under a particular sub-sector, their industry average should be same.