Practice Problems (Nestedif, Vlookup, Countif, Sumif, Averageif)

Practice Problems (Nestedif, Vlookup, Countif, Sumif, Averageif)
Question 1 (Excel) Review the accompanying worksheet image and then answer the questions
below. The first row and column in the table refer to Excel column and row labels, respectively.
At the county courthouse, speeders pay a fine for exceeding the posted speed limit.
(A) What formula should be entered in cell E5 to do the following:
• If the driver was not speeding, show the text "No Fine".
• Otherwise, if the driver was speeding at less than 20 MPH over the stated speed limit, show a fine
of $50 plus $5 for each MPH over the stated speed limit.
• Otherwise, if the driver was speeding at less than 35 MPH over the stated speed limit, show a fine
of $250 plus $10 for each MPH over the stated speed limit.
• Otherwise, show the text “You’re going to jail!!”
(Note: Your formula will need to work properly for all other drivers when copied down though cell
E9.)
(B) What is the formula to determine the name of the driver who was driving the fastest?
Question 2 (Excel) Review the accompanying worksheet image and then answer the questions
below. The first row and column in the table refer to Excel column and row labels, respectively.
Evaluate each of the lookup functions below to determine what value will result..
(A) =VLOOKUP(D15, $D$8:$F$20, 3, FALSE)
(B) =VLOOKUP(SUM(B4:G4), $E$12:$G$24, 3, TRUE)
(C) =VLOOKUP(MIN(B14:D18) + MAX(E3:G13), $C$10:$D$25, 2)
(D) =VLOOKUP(B21, $C$11:$G$22, 4, TRUE)
Question 3 (Excel) Review the accompanying worksheet image and then answer the questions
below. The first row and column in the table refer to Excel column and row labels, respectively.
Note: Assume that the payment amounts correspond to a residential mortgage loan of $100,000
and that the applicant's FICO score is entered in cell A10.
(A) Provide a formula that uses a lookup function to determine the monthly payment for a primary
mortgage with a loan amount of $100,000. Remember that the applicant’s FICO score is entered in
cell A10.
(B) Provide a formula that uses a lookup function to determine the APR of the applicant’s mortgage
loan.
Question 4 Fill-in-the-Blanks (Excel) Review the accompanying worksheet image and then answer
the questions below. The first row and column in the worksheet refer to Excel column and row
labels, respectively.
Evaluate each of the lookup functions below to determine what value will result.
(A) =VLOOKUP(LARGE(B3:B13,2), $D$8:$F$20, 3, TRUE)
(B) =VLOOKUP(F16, $E$12:$G$24, 4, FALSE)
(C) =VLOOKUP(B21, $C$11:$G$22, COUNTIF(B20:B27,”>85”), TRUE)
(D) =VLOOKUP(B21, $C$11:$G$22, 4, FALSE)
Question 5: Fill-in-the-Blank (Excel) Review the accompanying worksheet image and then answer
the question below. The first row and column in the worksheet refer to Excel column and row
labels, respectively.
DeepSix Legal Services has offices in Chicago, Louisville, and Nashville. In the worksheet above the
Employee List lists the employees, their office locations, and their job titles. In addition, the Bonus
Lookup Table shows that the annual bonus awarded to an employee is based on the location and
the job title of the employee. For example, each Manager in Chicago gets a bonus of $10,000, each
Staff employee in Louisville gets a bonus of $5,000, and each Clerical employee in Nashville gets a
bonus of $2,000.
(A) What VLOOKUP formula may be entered in cell E10 to determine the bonus for Allisa, the first
employee listed in the Employee List? (Note: Your formula will need to work properly for all other
employees when copied down though cell E24.)
Question 6 (Excel) Review the accompanying worksheet image and then answer the questions
below. The first row and column in the worksheet refer to Excel column and row labels,
respectively.
The worksheet above lists the annual salaries for a company’s employees.
(A) What is the formula to determine the total number of employees who earn between $50,000
and $70,000 in annual salary (inclusive)?
(B) What is the formula to determine the sum of the salaries of employees who have first names
that begin with the letter A?
(C) What is the formula to determine the average salary of employees who earn more than the
third (3rd) highest salary?
Answers
1A) =IF(D5<=C5,”No Fine”,IF(D5<C5+20,50+5*(D5-C5),IF(D5<C5+35,250+10*(D5-C5),”You’re going
to jail!!”))) [and other equivalents answers]
1B) =VLOOKUP(MAX(D5:D9),D5:F9,3,FALSE)
2A) 49
2B) 50
2C) 89
2D) 61
3A) =VLOOKUP(A10,$A$2:$C$7,3)
3B) =VLOOKUP(A10,$A$2:$C$7,2)
4A) 37
4B) #REF!
4C) 61
4D) #N/A
5. Below are several valid options (as usual, there are several valid variations of these answers).
(A) =VLOOKUP(C10,$B$4:$E$6,IF(D10="Manager",2,IF(D10="Staff",3,4)),FALSE)
OR
=IF(D10="Manager",VLOOKUP(C10,$B$4:$E$6,2,FALSE),IF(D10="Staff",VLOOKUP(C10,$B$4:$E$6,3,
FALSE),VLOOKUP(C10,$B$4:$E$6,4,FALSE)))
6A) =COUNTIF(C4:C14,”>=50000”) - COUNTIF(C4:C14,”>70000”)
6B) =SUMIF(B4:B14,”A*”,C4:C14)
6C) =AVERAGEIF(C4:C14,”>”&LARGE(C4:C14,3))