Here are the steps to calculate the average salary of males and females separately:
1. Select the cells containing the salaries of males (B2:B6) and go to Data > Sum. This will give you the total salary of males in cell B7.
2. Count the number of males by selecting cells B2:B6 and going to Data > Count. This will give you the number of males in cell B8.
3. To calculate the average salary of males, use the formula =B7/B8 and enter it in cell B9.
4. Similarly, select the cells containing salaries of females (B6:B7), get the total in C7 and count in