Greetings masterminds!

I work as health & safety rep. in my company. One of my jobs is to check all the salary information of 600 employees that they're what they're suppose to be. But now... I ran into a dead end.

See, in excel I have my information sheet of all the salaries (im using Excel 2013 btw.), and I need to count the average salary of all the employees, I need to count the average salary of males, average salary of females and the average salary from every "salary group" and the average of every male and female employee from those groups.

What kind of functions can I use to count the average in multiple cells? And especially what kind of function do I need to count the female salaries and the male salaries average?

Thank you.