I want to AVERAGEIFS a subset of employee types to calculate their average salary.

maxim642

New Member
Joined
Feb 4, 2021
Messages
27
Office Version
  1. 365
Platform
  1. MacOS
I want to know the average salary (column E) for employees at the company. "Employee" & "Employee Fixed Term" are categorised as employees, so I just want to average those two employee types (column J) combined.

Cell B10 should have the formula in it.

Thank you.

8.3.21 HR Dashboard ML.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAH
1Full NameEmployee NumberJob TitleJob LevelSalaryCompanyDivisionDepartmentStatusEmployee TypeManager Full NameStart DateContinuous Start DateLeaving DateLocationGenderEmailContract End DateStandard HoursDisabledCar AllowanceActual FTECost CentreEthnicityLoS DateFull Time Y/NStart YearStart MonthLeave YearLeave MonthLoS (Days)Los (Years)Actual Start DateFormatted Leave Date
2Worker11Job120$418,000LTD1Team1Dep1CurrentEmployeeMan11/13/11 LondonMaleN/A 37.5No01N/AWhite - Any other background3/15/21Yes2011Jan 371410.21/13/11
3Worker22Job220$360,000LTD1Team1Dep1CurrentEmployee Fixed TermMan13/1/19 LondonMaleN/A 37.5No01N/AWhite - English, Welsh, Scottish, Northern Irish, British3/15/21Yes2019Mar 7452.03/1/19
4Worker33Job320$350,000LTD1Team1Dep1CurrentEmployeeMan11/11/21 LondonMaleN/A 37.5No01N/AWhite - English, Welsh, Scottish, Northern Irish, British3/15/21Yes2021Jan 630.21/11/21
5Worker44Job420$300,000LTD1Team1Dep1CurrentContractorMan11/4/21 LondonFemaleN/A 37.5No01N/AWhite - English, Welsh, Scottish, Northern Irish, British3/15/21Yes2021Jan 700.21/4/21
6Worker55Job520$300,000LTD1Team1Dep1FormerEmployeeMan11/1/12 7/15/20LondonMaleN/A 37.5No01N/AWhite - English, Welsh, Scottish, Northern Irish, British7/15/20Yes2012Jan2020Jul31188.51/1/127/15/20
7Worker66Job620$269,000LTD1Team1Dep1CurrentEmployeeMan19/30/19 BrightonMaleN/A 37.5No01N/AWhite - English, Welsh, Scottish, Northern Irish, British3/15/21Yes2019Sep 5321.59/30/19
8
9
10Average Salary
Sheet1
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,388
Office Version
  1. 365
Platform
  1. Windows
Looking at that you could just use:

=AVERAGEIFS(E:E,J:J,"Employee*")
 
Solution

Watch MrExcel Video

Forum statistics

Threads
1,129,382
Messages
5,635,937
Members
416,889
Latest member
dhegs

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top