Date and Time Formulas Case Study
Date and Time Formulas Case Study
© www.Trainedge.co.in Page 2
Excel Case Study
Description
We are going to build upon the case study we solved in the Math formulas section.
We are going to use Date & Time functions to compare performance of Vikram’s store
across the four quarters.
Open the data file Date and Time Formulas Case Study.xlsx
The workbook has all the information we calculated in the previous case study. It also has a
new worksheet called List of Holidays. The worksheet has list of holidays for each quarter.
We will use this information to calculate the number of working days in each quarter.
Solution
Follow the steps to complete the case study:
1. Open Monthly Sales worksheet. Select cell B27. Calculate the number of working
days in Quarter 1 using NETWORKDAYS.INTL function.
On the Formulas tab, click Date & Time functions tool. Select
NETWORKDAYS.INTL from the list. Excel displays the Function Arguments dialog
box.
Click inside Start_date box and select cell B2 which is the first day of the quarter.
Click inside End_date box and select cell C2 which is the last day of the quarter.
Since Vikram’s shop is closed only on Sundays, type 11 in the Weekend box. (Note
11 is the code for only Sundays for weekends.)
In the Holidays box, select cell B2 on List of Holidays worksheet since quarter 1
had only one holiday.
Click OK. Excel displays the number of working days in quarter 1 in cell B27.
2. Repeat the procedure for Quarter 2, 3 and 4 to calculate working days using data in
List of Holidays worksheet.
3. Select cell C27.
In this cell, we will calculate daily sales by dividing sales for the quarter by the
number of working days in the quarter.
Enter =G20/B27 and press Enter. Excel displays the average sales / day in cell C27.
Copy Cell C27 and paste in cells C28:C30. Excel calculates daily sales for quarter 2,
3 and 4.
© www.Trainedge.co.in Page 3
Excel Case Study
© www.Trainedge.co.in Page 4