xp life insurance premium flowchart 1 add life ins = “y” salary * premium rate yes 0 no
DESCRIPTION
XP 401(k) Benefit Cost Flowchart 3 Full-Time Employee? Salary * 401(k) rate Yes 0 No Employed 1 or more years? Yes NoTRANSCRIPT
XPXPLife Insurance Premium Flowchart
1
Add Life Ins = “Y”
Salary * Premium Rate
Yes
0No
XPXPLife Insurance Premium Flowchart
=IF([Add Life Ins]="Y",[Annual Salary]*Add_Life_Ins_Rate,0) 2
Add Life Ins = “Y”
Salary * Premium Rate
Yes
0No
XPXP401(k) Benefit Cost Flowchart
3
Full-Time Employee?
Salary * 401(k) rate
Yes 0
No
Employed 1 or more years?
Yes
No
XPXPWorking with Logical Functions• The AND function is a logical function that
returns a TRUE value if all the logical conditions are true and a FALSE value if any of the logical conditions are false.
• AND(logical1, [logical2] …)
4
XPXP401(k) Benefit Cost Flowchart
=IF(AND([Job Status]="FT",[Years Service]>1),[Annual Salary]*_401_k__Cost,0) 5
Full-Time Employee?
Salary * 401(k) rate
Yes 0
No
Employed 1 or more years?
Yes
No
XPXPBonus Costs Flowchart
6
Pay Grade =
1
“Invalid Pay Grade”
Yes
$2,500
No Pay Grade =
2
Yes
$5,000
No Pay Grade =
3
Yes
$7,500
No
XPXPWorking with Logical Functions• A nested IF function is when one IF function is
placed inside another IF function to test an additional condition
7
XPXPBonus Costs Flowchart
8
Pay Grade =
1
“Invalid Pay Grade”
Yes
$2,500
No Pay Grade =
2
Yes
$5,000
No Pay Grade =
3
Yes
$7,500
No
=IF([Pay Grade]=1,Bonus_Pay_Grade_1,IF([Pay Grade]=2,Bonus_Pay_Grade_2,IF([Pay Grade]=3,Bonus_Pay_Grade_3,"Invalid Pay Grade")))
XPXPWorking with IFERROR Function• The IFERROR function allows you to control what
a formula displays when an error condition occurs. Instead of seeing #NAME?, #N/A, or some other default error message, you can use this function to display a more appropriate error message.
9
XPXP
10
Health Plan Costs
HealthPlanRates Table
=IFERROR(VLOOKUP([Health Plan],HealthPlanRates,2,FALSE)*12,”Invalid Code”)
XPXPSummarizing Data Conditionally• The COUNTIFS function counts the number of cells within a range
that meet multiple criteria– COUNTIFS(criteria_range1,criteria1[,criteria_range2,
criteria2...])• The SUMIFS function adds values in a range that meet multiple
criteria– SUMIFS(sum_range,criteria_range1,criteria1[,criteria_
range2, criteria2...])• The AVERAGEIFS function calculates the average of values within
a range of cells that meet multiple conditions– AVERAGEIFS(average_range,criteria_range1,criteria1
[,criteria_range2, criteria2...])
11