Average ifs or function???

cmholmes

New Member
Joined
May 13, 2013
Messages
30
Hello, I have a question about the Average/if or AVERAGEIFS functions. I am trying to do an average of all the salaries for part time and full time employees, but the full time employees have a date range criteria that is different than the part time employees.

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Full Time
[/TD]
[TD]7/1/14
[/TD]
[TD]12/31/14
[/TD]
[TD][/TD]
[TD]Average Salary
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Part Time
[/TD]
[TD]9/1/14
[/TD]
[TD]12/31/14
[/TD]
[TD][/TD]
[TD]?
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Name
[/TD]
[TD]Employer
[/TD]
[TD]Salary
[/TD]
[TD]Salary Type
[/TD]
[TD]Start Date
[/TD]
[TD]Benefits
[/TD]
[/TR]
[TR]
[TD]John C
[/TD]
[TD]X0x
[/TD]
[TD]20000
[/TD]
[TD]P
[/TD]
[TD]12/1/14
[/TD]
[TD]N
[/TD]
[/TR]
[TR]
[TD]Sarah M
[/TD]
[TD]XZ
[/TD]
[TD]40000
[/TD]
[TD]F
[/TD]
[TD]10/31/14
[/TD]
[TD]N
[/TD]
[/TR]
[TR]
[TD]Jack F
[/TD]
[TD]XY
[/TD]
[TD]35000
[/TD]
[TD]F
[/TD]
[TD]8/20/14
[/TD]
[TD]Y
[/TD]
[/TR]
[TR]
[TD]James R
[/TD]
[TD]YX
[/TD]
[TD]15000
[/TD]
[TD]P
[/TD]
[TD]9/15/14
[/TD]
[TD]N
[/TD]
[/TR]
[TR]
[TD]Pat C
[/TD]
[TD]ZZ
[/TD]
[TD]45000
[/TD]
[TD]F
[/TD]
[TD]11/17/14
[/TD]
[TD]Y
[/TD]
[/TR]
[TR]
[TD]Bob D
[/TD]
[TD]ZM
[/TD]
[TD]5000
[/TD]
[TD]P
[/TD]
[TD]5/2/14
[/TD]
[TD]N
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
You might have to do this with an array function or sumifs/countifs and manually calculate the average
(sumifs for part time + sumifs for full time)/(countifs for part time + countifs for full time)
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,885
Members
452,364
Latest member
springate

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
Back
Top