I have this formula and it is telling me too many arguments. How do i fix it? Since i need all these criteria to determine the salaries? Salary is based on student enrollment, ranking, length of service, and credit weight. can someone help?
=IFERROR(AVERAGEIFS('Salary Layout'!H:H,'Salary Layout'!A:A,FacultyData!A3,'Salary Layout'!D:D,"<="& FacultyData!B3,'Salary Layout'!E:E,">="&FacultyData!B3,'Salary Layout'!F:F,"<="&FacultyData!C3,'Salary Layout'!G:G,">="&FacultyData!C3), ‘Salary Layout’!B:B,“<=”&FacultyData!M3,’Salary Layout’!C:C,”>=”&FacultyData!M3),“Unknown”)
My two worksheets are:
Salary Layout worksheet:
[TABLE="width: 1037"]
<tbody>[TR]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[TD]H
[/TD]
[/TR]
[TR]
[TD]Faculty Rankings
[/TD]
[TD]Min Credit Weight
[/TD]
[TD]Max Credit Weight
[/TD]
[TD]Min. Length of Service
[/TD]
[TD]Max. Length of Service
[/TD]
[TD]Min. Student Enrollment
[/TD]
[TD]Max. Student Enrollment
[/TD]
[TD]Salaries
[/TD]
[/TR]
</tbody>[/TABLE]
FacultyData Worksheet:
[TABLE="width: 1211"]
<tbody>[TR]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[TD]H
[/TD]
[TD]I
[/TD]
[TD]J
[/TD]
[TD]K
[/TD]
[TD]L
[/TD]
[TD]M
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Faculty Ranking
[/TD]
[TD]Length of Service
[/TD]
[TD]Student Enrollment
[/TD]
[TD]Credit
[/TD]
[TD]Salary
[/TD]
[TD]Saln
[/TD]
[TD]Firstname
[/TD]
[TD]Lastname
[/TD]
[TD]EMP#
[/TD]
[TD]SSN
[/TD]
[TD]Dept.
[/TD]
[TD]Course #
[/TD]
[TD]Section
[/TD]
[TD]Term
[/TD]
[/TR]
</tbody>[/TABLE]
thanks much
Destined
=IFERROR(AVERAGEIFS('Salary Layout'!H:H,'Salary Layout'!A:A,FacultyData!A3,'Salary Layout'!D:D,"<="& FacultyData!B3,'Salary Layout'!E:E,">="&FacultyData!B3,'Salary Layout'!F:F,"<="&FacultyData!C3,'Salary Layout'!G:G,">="&FacultyData!C3), ‘Salary Layout’!B:B,“<=”&FacultyData!M3,’Salary Layout’!C:C,”>=”&FacultyData!M3),“Unknown”)
My two worksheets are:
Salary Layout worksheet:
[TABLE="width: 1037"]
<tbody>[TR]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[TD]H
[/TD]
[/TR]
[TR]
[TD]Faculty Rankings
[/TD]
[TD]Min Credit Weight
[/TD]
[TD]Max Credit Weight
[/TD]
[TD]Min. Length of Service
[/TD]
[TD]Max. Length of Service
[/TD]
[TD]Min. Student Enrollment
[/TD]
[TD]Max. Student Enrollment
[/TD]
[TD]Salaries
[/TD]
[/TR]
</tbody>[/TABLE]
FacultyData Worksheet:
[TABLE="width: 1211"]
<tbody>[TR]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[TD]H
[/TD]
[TD]I
[/TD]
[TD]J
[/TD]
[TD]K
[/TD]
[TD]L
[/TD]
[TD]M
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]Faculty Ranking
[/TD]
[TD]Length of Service
[/TD]
[TD]Student Enrollment
[/TD]
[TD]Credit
[/TD]
[TD]Salary
[/TD]
[TD]Saln
[/TD]
[TD]Firstname
[/TD]
[TD]Lastname
[/TD]
[TD]EMP#
[/TD]
[TD]SSN
[/TD]
[TD]Dept.
[/TD]
[TD]Course #
[/TD]
[TD]Section
[/TD]
[TD]Term
[/TD]
[/TR]
</tbody>[/TABLE]
thanks much
Destined