Excel Formulas
Excel Formulas
20.
Please download the file pretest.xlsx. In the worksheet Bakery, each row gives the following data for a
sales transaction: Transaction Number, Salesperson, Date of Sale, Product, Units Sold, Revenue
Generated, and Location of Sale. We have named the data in column B as Salesperson, the data in
column C as Date, and so on. What function can be used to calculate the number of negative revenue
transactions recorded by Zack?
=COUNTIFS(Dollars,"<0",Salesperson,"Zack")
17.Given the list of students’ names (first name and last name) and their ID numbers, we want to
separate them into three columns: First Name, Last Name, and ID. Which of the following functions can
extract the last name of the first student?
16. Kyle is modeling potential umbrella sales in his store in the next 10 days. He believes sales would be
100 umbrellas if it is a rainy day, and only 30 if it is a sunny day. According to the meteorologist, the
chances of rain in the next 10 days are listed in the following table. Which of the following formulas can
help him model the sales of umbrellas in the next 10 days?
=30+(100-30)*(RAND()<B2)
15. Instead of using the default formats for dates in Excel, one can create one’s own custom formats.
True
13.Refer to the screenshot below. If you want to calculate the total sales for each store in the whole year
and the total sales in each quarter of the year, then instead of copying and pasting the function into each
cell, what button can you click in Excel to make this easier?
Autosum
Excel will ask you how to shift the cells, rows, or columns
8. Which of the following functions returns the date of the day before yesterday?
=Today()-2
7. The number format of 8:36:00 AM is 0.36 in Excel. What is the meaning of the 0.36?
It is 36 minutes after the reference time.
6. Assume Verd Farm uses the price table in the screenshot when selling meat to supermarkets. What
function can we use to look up the price of a transaction with 1500 pounds of meat?
=VLOOKUP(A10,A2:B6,2)
3. In the worksheet Bakery, each row gives the following data for a sales transaction: Transaction
Number, Salesperson, Date of Sale, Product, Units Sold, Revenue Generated, and Location of Sale. We
have named the data in column B as Salesperson, the data in column C as Date, and so on. For the data
in the worksheet Bakery, which function would compute total revenue generated by Jane?
=SUMIF(Salesperson,"Jane",Dollars)
1. If we want to find the total of the 2nd highest price and the 3rd lowest price, which of the
following functions should we use?
=LARGE(B2:B7,2)+SMALL(B2:B7,3)