Home>Article>Topics> How to find the average age of male employees in Excel

How to find the average age of male employees in Excel

angryTom
angryTom Original
2020-03-06 17:07:12 16173browse

How to find the average age of male employees in Excel

How to find the average age of male employees in excel

1. Open the EXCEL table that needs to be operated and enter the function in the target cell of the average age of males=AVERAGEIF(, and then click to select the cell in the area where the gender is located, such as B2:B15. [The cell where the employee’s gender is located can be changed according to the actual situation.]

Recommended:excel basic tutorial

How to find the average age of male employees in Excel

#2. Continue to enter the function "male", then click to select the cell where the age is located, such as C2:C15), and press Enter to complete the average age of male employees. Calculation formula editor. [The cell area can be modified according to the actual situation in the same way]

How to find the average age of male employees in Excel

3. Similarly, the average age of female employees can be found =AVERAGEIF(B2:B15,"Female" ,C2:C15).

4. Return to the EXCEL table and find that the calculation of the average age of male and female employees in Excel is completed.

How to find the average age of male employees in Excel

For more excel-related tutorials, please pay attention toPHP Chinese website!

The above is the detailed content of How to find the average age of male employees in Excel. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn