Data-Analytic Im
Data-Analytic Im
Data-Analytic Im
DEGREE COURSE
BSHM LM 2
PROGRAM NO.
Hospitality COURSE Data Analytic in the Hospitality Industry with
SPECIALIZATION
Management TITLE Spreadsheet
TIME 27
YEAR LEVEL BSHM 3 WK NO. 6-8 IM NO. 03
FRAME ho.
This course prepares students to gather, describe, and analyze data, and
use advanced statistical tools to make decisions on operations, risk management,
finance, marketing, etc. Analysis is done targeting economic and financial
decisions in complex systems that involve multiple partners. Topics include
probability, statistics, hypothesis testing, regression, clustering, decision trees,
and forecasting.
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 1 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
Thus, data analysis is a process for obtaining large, unstructured data from
various sources and converting it into information that is useful for −
Answering questions
Test hypotheses
Decision-making
Disproving theories
Microsoft Excel provides several means and ways to analyze and interpret
data. The data can be from various sources. The data can be converted and
formatted in several ways. It can be analyzed with the relevant Excel commands,
functions and tools - encompassing Conditional Formatting, Ranges, Tables,
Text functions, Date functions, Time functions, Financial functions, Subtotals,
Quick Analysis, Formula Auditing, Inquire Tool, What-if Analysis, Solvers, Data
Model, PowerPivot, Power View, Power Map, etc.
You will be learning these data analysis techniques with Excel as part of
two parts −
Data Analysis Process consists of the following phases that are iterative
in nature −
Data Requirements Specification
Data Collection
Data Processing
Data Cleaning
Data Analysis
Communication
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 2 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
Data Collection
Data Collection is the process of gathering information on targeted
variables identified as data requirements. The emphasis is on ensuring accurate
and honest collection of data. Data Collection ensures that data gathered is
accurate such that the related decisions are valid. Data Collection provides both
a baseline to measure and a target to improve.
Data is collected from various sources ranging from organizational databases to
the information in web pages. The data thus obtained, may not be structured and
may contain irrelevant information. Hence, the collected data is required to be
subjected to Data Processing and Data Cleaning.
Data Processing
The data that is collected must be processed or organized for analysis.
This includes structuring the data as required for the relevant Analysis Tools. For
example, the data might have to be placed into rows and columns in a table
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 3 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
Data Cleaning
Data Analysis
Data that is processed, organized and cleaned would be ready for the
analysis. Various data analysis techniques are available to understand, interpret,
and derive conclusions based on the requirements. Data Visualization may also
be used to examine the data in graphical format, to obtain additional insight
regarding the messages within the data.
Communication
The results of the data analysis are to be reported in a format as required
by the users to support their decisions and further action. The feedback from the
users might result in additional analysis.
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 4 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
However, there are certain operations that are more effective when data
is in tables rather than in ranges. There are also operations that are exclusively
for tables.
You will understand the ways of analyzing data in ranges and tables as
well. You will understand how to name ranges, use the names and manage the
names. The same would apply for names in the tables.
You need to clean the data obtained from various sources and structure it
before proceeding to data analysis. You will learn how you can clean the data.
With Text Functions
Containing Date Values
Containing Time Values
Conditional Formatting
Quick Analysis
With Quick Analysis tool in Excel, you can quickly perform various data
analysis tasks and make quick visualizations of the results.
Data Visualization
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 5 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
You will learn several Data Visualization techniques using Excel Charts.
You will also learn how to create Band Chart, Thermometer Chart, Gantt chart,
Waterfall Chart, Sparklines and Pivot Charts.
Data Validation
It might be required that only valid values be entered into certain cells.
Otherwise, they may lead to incorrect calculations. With data validation
commands, you can easily set up data validation values for a cell, an input
message prompting the user on what is expected to be entered in the cell,
validate the values entered with the defined criteria and display an error
message in case of incorrect entries.
Financial Analysis
Excel provides you several financial functions. However, for commonly
occurring problems that require financial analysis, you can learn how to use a
combination of these functions.
Formula Auditing
When you use formulas, you might want to check whether the formulas
are working as expected. In Excel, Formula Auditing commands help you in
tracing the precedent and dependent values and error checking.
Inquire
Excel also provides Inquire add-in that enables you compare two
workbooks to identify changes, create interactive reports, and view the
relationships among workbooks, worksheets, and cells. You can also clean the
excessive formatting in a worksheet that makes Excel slow or makes the file
size huge.
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 6 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
With Excel, you can create and use meaningful names to various parts of
your data. The advantages of using range names include −
To create a Range name, using the Name box that is to the left of formula bar is
the fastest way. Follow the steps given below:
Step 1 − Select the range for which you want to define a Name.
Step 2 − Click on the Name box.
Step 3 − Type the name and press Enter to create the Name.
You can also create Range Names using the New Name dialog box from
Formulas tab.
Step 1 − Select the range for which you want to define a name.
Step 2 − Click the Formulas tab.
Step 3 − Click Define Name in the Defined Names group. The New
Name dialog box appears.
Step 4 − Type the name in the box next to Name
Step 5 − Check that the range that is selected and displayed in the Refers
box is correct. Click OK.
Create a Range Name using the Create Names from Selection dialog box
You can also create Range names using the Create Names from the Selection
dialog box from Formulas tab, when you have Text values that are adjacent to
your range.
Step 1 − Select the range for which you want to define a name along with
the row / column that contains the name.
Step 2 − Click the Formulas tab.
Step 3 − Click Create from Selection in the Defined Names group.
The Create Names from Selection dialog box appears.
Step 4 − Select top row as the Text appears in the top row of the selection.
Step 5 − Check the range that got selected and displayed in the box next
to Refers to be correct. Click OK.
Now, you can find the largest value in the range with =Sum(Student
Name), as shown below
You can create names with multiple selection also. In the example given
below, you can name the row of marks of each student with the student’s name.
Now, you can find the total marks for each student with =Sum (student
name), as shown below.
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 8 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
Managing Names
An Excel Workbook can have any number of named cells and ranges. You
can manage these names with the Name Manager.
Click the Formulas tab.
Click Name Manager in the Defined Names group. The Name
Scope of a Name
You can define the Scope of a New Name when you define the name
using New Name dialog box. For example, you are defining the name
Interest_Rate. Then you can see that the Scope of the New
Name Interest_Rate is the Workbook.
The Scope options include Workbook, and the sheet names in the workbook.
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 9 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
Step 2 − Click the current worksheet name, in this case NPV and click OK.
You can define / find the sheet name in the worksheet tab.
Step 3 − To verify that Scope is worksheet, click Name Manager. In the Scope
column, you will find NPV for Interest_Rate. This means you can use the
Name Interest_Rate only in the Worksheet NPV, but not in the other
Worksheets.
Note − Once you define the Scope of a Name, it cannot be modified later.
Deleting Names with Error Values
Sometimes, it may so happen that Name definition may have errors for
various reasons. You can delete such names as follows:
Step 1 − Click Filter in the Name Manager dialog box.
Step 3 − From the obtained list of Names, select the ones you want to delete
and click Delete.
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 10 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
Step 4 − Change the Name by typing the new name that you want in
the Name Box.
Step 5 − Click the Range button to the right of Refers to Box and include the
new cell references.
Step 6 − Add a Comment (Optional)
Notice that Scope is deactive and hence cannot be changed.
Click OK. You will observe the changes made.
Applying Names
As you observe, names are not defined and used in PMT function. If you place
this function somewhere else in the worksheet, you also need to remember
where exactly the parameter values are. You know that using names is a better
option.
In this case, the function is already defined with cell references that do not have
names. You can still define names and apply them.
Step 1 − Using Create from Selection, define the names.
Step 2 − Select the cell containing the formula. Click next to Define Name in
the Defined Names group on the Formulas tab. From the drop-down list,
click Apply Names.
Step 3 − The Apply Names dialog box appears. Select the Names that you
want to Apply and click OK.
The selected names will be applied to the selected cells.
The list of names and their corresponding references are copied at the
specified location on your worksheet as shown in the screen shot given below −
For example, in the data given below, the Range B6:F6 and the Range
C3:C8 have Cell C6 in common, which actually represents the marks scored by
the student Kodeda, Adam in Exam 1.
Here, you are using the Range Intersection operation, space between the two
ranges.
This will display marks of Kodeda, Adam in Exam 1, that are given in Cell C6.
You can create and use an Excel table to manage and analyze data
easily. Further, with Excel Tables you get built-in Filtering, Sorting, and Row
Shading that ease your reporting activities.
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 12 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
Tables provide additional features that are not available for ranges. These
are −
Excel provides table tools in the ribbon ranging from properties to
styles.
Excel automatically provides a Filter button in each column header to
sort the data or filter the table such that only rows that meet your
defined criteria are displayed.
If you have multiple rows in a table, and you scroll down the sheet so
that the header row disappears, the column letters in the worksheet
are replaced by the table headers.
When you place a formula in any cell in a column of the table, it gets
propagated to all the cells in that column.
You can use table name and column header names in the formulas,
without having to use cell references or creating range names.
You can extend the table size by adding more rows or more columns
by clicking and dragging the small triangular control at the lower-right
corner of the lower-right cell.
You can create and use slicers for a table for filtering data.
Create Table
To create a table from the data you have on the worksheet, follow the
given steps −
Step 1 − Select the Range of Cells that you want to include in the Table. Cells
can contain data or can be empty. The following Range has 290
rows of employee data. The top row of the data has headers.
Step 2 − Under the Insert tab, in the Tables group, click Tables. The Create
Table dialog box appears. Check that the data range selected in
the Where is the data for your table? Box is correct.
Step 3 − Check the My table has headers box if the top row of the selected
Range contains data that you want to use as the Table Headers.
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 13 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
Note − If you do not check this box, your table will have Headers – Column1,
Column2, …
Step 4 − Click OK.
Range is converted to Table with the default Style.
Step 5 − You can also convert a range to a table by clicking anywhere on the
range and pressing Ctrl+T. A Create Table dialog box appears and
then you can repeat the steps as given above.
Table Name
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 14 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
When you are working with a greater number of rows of data in a table,
you may have to scroll down to look at the data in those rows.
However, while doing so, you also require the table headers to identify
which value belongs to which column. Excel automatically provides a smooth
way of doing this. As you scroll down your data, the column letters of the
worksheet themselves get converted to table headers.
In the worksheet given below, the column letters are appearing as they
are and the table headers are in row 2. 21 rows of 290 rows of data are visible.
Scroll down to see the table rows 25 – 35. The table headers will replace
the column letters for the table columns. Other column letters remain as they are.
In the table given below, suppose you want to include the age of each employee.
Step 1 − Insert a column to the right of the column Birthdate. Type Age in the
Column Header.
Step 2 − In any of the Cells in that empty column, type the Formula, =DAYS
([@BirthDate], TODAY ()) and Press Enter.
The formula propagates automatically to the other cells in that column of the
table.
Resize Table
Remove Duplicates
When you gather data from different sources, you probably can have
duplicate values. You need to remove the duplicate values before going further
with analysis.
Look at the following data where you have information about various
products of various brands. Suppose, you want to remove duplicates from this
data.
Click the table.
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 15 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
You will get a message on how many rows with duplicate values are
removed and how many unique values remain. The cleaned data will be
displayed in the table.
Convert to Range
You have several options of Table Styles to choose. These options can
be used if you need to highlight a Row / Column.
You can check / uncheck these boxes to see how your table looks.
Finally, you can decide on what options suit your data.
It is advised that the Table Style Options be used only to project important
information in your data rather than making it colorful, which is not needed in
data analysis.
Table Styles
You have several table styles to choose from. These styles can be used
depending on what color and pattern you want to display your data in the table.
Move your mouse on these styles to have a preview of your table with the
styles. Finally, you can decide on what style suit your data.
If you are using Excel 2013 or Excel 2016, you can use Slicers for
filtering data in your table.
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 16 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
For details on how to use Slicers for Tables, refer the chapter on Filtering in this
tutorial.
The data that you obtain from different sources many not be in a form
ready for analysis. In this chapter, you will understand how to prepare your data
that is in the form of text for analysis.
Initially, you need to clean the data. Data cleaning includes removing
unwanted characters from text. Next, you need to structure the data in the form
you require for further analysis. You can do the same by:
Finding required text patterns with the text functions.
Extracting data values from text.
Formatting data with text functions.
Executing data operations with the text functions.
When you import data from another application, it can have nonprintable
characters and/or excess spaces. The excess spaces can be:
leading spaces, and/or
extra spaces between words.
If you sort or analyze such data, you will get erroneous results.
This is the raw data that you have obtained on product information
containing the Product ID, Product description and the price. The character “|”
separates the field in each row.
As you observe, the entire data is in a single column. You need to
structure this data to perform data analysis. However, initially you need to clean
the data.
You need to remove any nonprintable characters and excess spaces that
might be present in the data. You can use the CLEAN function and TRIM
function for this purpose.
CLEAN
1.
Removes all nonprintable characters from text
TRIM
2.
Removes spaces from text
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 17 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
EXACT
1.
Checks to see if two text values are identical
FIND
2. Finds one text value within another (case-
sensitive)
SEARCH
3. Finds one text value within another (not case-
sensitive)
You need to extract the required data from text in order to structure the same. In
the above example, say, you need to place the data in three columns –
ProductID, Product_Description and Price.
Suppose the fields in your data neither are delimited by a character nor
are aligned in columns with spaces between each field, you can use text
functions to extract data values. Even in the case the fields are delimited, you
can still use text functions to extract data.
Some of the text functions that are useful for this purpose are:
LEFT
1.
Returns the leftmost characters from a text value
RIGHT
2.
Returns the rightmost characters from a text value
MID
3. Returns a specific number of characters from a text string
starting at the position you specify
LEN
4.
Returns the number of characters in a text string
You can also combine two or more of these text functions as per the data
you have at hand, to extract the required data values. For example, using a
combination of LEFT, RIGHT and VALUE functions or using a combination of
FIND, LEFT, LEN and MID functions.
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 19 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
Observing this information, you can extract the data values with the following
steps −
Find the Position of First | - First | Position
o You can use FIND function
Find the Position of Second | - Second | Position
o You can use FIND function again
Beginning to (First | Position – 2) Characters of the Text give
ProductID
o You can use LEFT Function
(First | Position + 2) to (Second | Position - 2) Characters of the
Text give Product_Description
o You can use MID Function
(Second | Position + 2) to End Characters of the Text give Price
o You can use RIGHT Function
You can observe that the values in the price column are text values. To
perform calculations on these values, you have to format the corresponding
cells. You can look at the section given below to understand formatting text.
Using Excel Flash Fill is another way to extract data values from text.
However, this works only when Excel is able to find a pattern in the data.
Step 1 − Create three columns for ProductID, Product_Description and Price
next to the data.
Step 2 − Copy and paste the values for C3, D3 and E3 from B3.
Step 3 − Select cell C3 and click Flash Fill in the Data Tools group on
the Data tab. All the values for ProductID get filled.
Step 4 − Repeat the above given steps for Product_Description and Price. The
data is filled.
Excel has several built-in text functions that you can use for formatting
data containing text. These include −
Functions that format the Text as per your need:
No Function & Description
.
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 20 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
LOWER
1.
Converts text to lowercase
UPPER
1.
Converts text to uppercase
PROPER
2. Capitalizes the first letter in each word of a text
value
DOLLAR
1.
Converts a number to text, using the $ (dollar) currency format
FIXED
2.
Formats a number as text with a fixed number of decimals
TEXT
3.
Formats a number and converts it to text
VALUE
1.
Converts a text argument to a number
You might have to perform certain Text Operations on your Data. For
example, if Login-IDs for the Employees are changed to a New Format in an
Organization, based on the Format Change, Text Replacements might have to
be done.
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 21 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
REPLACE
1.
Replaces characters within text
SUBSTITUTE
2.
Substitutes new text for old text in a text string
CONCATENATE
3.
Joins several text items into one text item
CONCAT
4. Combines the text from multiple ranges and/or strings, but it does not
provide the delimiter or IgnoreEmpty arguments.
TEXTJOIN
Combines the text from multiple ranges and/or strings and includes a
5. delimiter you specify between each text value that will be combined. If the
delimiter is an empty text string, this function will effectively concatenate
the ranges.
REPT
6.
Repeats text a given number of times
The data that you obtain from different sources might contain date values.
In this chapter, you will understand how to prepare your data that contains data
values for analysis.
You will learn about:
Date Formats
o Date in Serial Format
o Date in different Month-Day-Year Formats
Converting Dates in Serial Format to Month-Day-Year Format
Converting Dates in Month-Day-Year Format to Serial Format
Obtaining Today's Date
Finding a Workday after specified Days
Customizing the Definition of a Weekend
Number of Workdays between two given Dates
Extracting Year, Month, Day from Date
Extracting Day of the Week from Date
Obtaining Date from Year, Month and Day
Calculating Number of Years, Months and Days between two Dates
Date Formats
Excel supports Date values in two ways:
Serial Format
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 22 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 23 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
Workdays exclude weekend days and any holidays. This means if you can
define your weekend and holidays, whatever calculations you do will be based
on workdays. For example, you can calculate invoice due dates, expected
delivery times, the next meeting date, etc.
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 24 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
WORKDAY
1. Returns the serial number of the date before or after a specified number of
workdays
WORKDAY.INTL
Returns the serial number of the date before or after a specified number of
2.
workdays using parameters to indicate which and how many days are weekend
days
For example, you can specify the 15th working day from today (the
screenshot below is taken on 16th May 2016) using the Functions TODAY and
WORKDAY.
Sunday, Monday 2
Monday, Tuesday 3
Tuesday, Wednesday 4
Wednesday, Thursday 5
Thursday, Friday 6
Friday, Saturday 7
Sunday only 11
Monday only 12
Tuesday only 13
Wednesday only 14
Thursday only 15
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 25 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
Friday only 16
Saturday only 17
Suppose if weekend is Friday only, you need to use the number 16 in the
WORKDAY.INTL function.
You can find the number of workdays between two dates with the Excel
functions NETWORKDAYS and NETWORKDAYS.INTL. Just as in the case of
WORKDAYS and WORKDAYS.INTL, NETWORKDAYS and
NETWORKDAYS.INTL allow you to specify holidays and with
NETWORKDAYS.INTL you can additionally specify the weekend.
NETWORKDAYS
1.
Returns the number of whole workdays between two dates
NETWORKDAYS.INTL
Returns the number of whole workdays between two dates
2.
using parameters to indicate which and how many days are
weekend days
You can calculate the number of workdays between today and another
date with the functions TODAY and NETWORKDAYS. In the screen shot given
below, today is 16th May 2016 and end date is 16th June 2016. 25th May 2016
and 1st June 2016 are holidays.
Your data might have the information about Year, Month and Day
separately. You need to get the date combining these three values to perform
any calculation. You can use the DATE function for getting the date values.
You might have to calculate the time lapsed from a given date. You might
need this information in the form of years, months and days. A simple example
would be calculating the current age of a person. It is effectively the difference
between the birth date and today. You can use Excel DATEDIF, TODAY and
CONCATENATE functions for this purpose.
The data that you obtain from different sources might contain time values.
In this chapter, you will understand how to prepare your data that contains time
values for analysis.
Time Formats
Excel supports Time Values in two ways:
Serial Format
In various Hour-Minute-Second Formats
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 27 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
You can also specify date and time together. For example, if you type
May 17, 2016 7:25 in a cell, it will be displayed as 5/17/2016 7:25 and it
represents 5/17/2016 7:25:00 AM.
Using Excel TIMEVALUE function
Using Format Cells dialog box
Click the Number tab in the Format Cells dialog box.
Click General under Category.
If you need to perform calculations based on current time, simply use the
Excel function NOW (). The result reflects the date and time when it is used.
The following screen shot of Now () function usage has been taken on 17 th May,
2016 at 12:22 PM.
o C4 is formatted as Time
o C5 and C6 are formatted as Number.
You get the time difference as days. To convert to hours, you need to
multiply by 24.
A. Book/Printed Resources
Lea R Dopson; David K Hayes (2018), Food And Beverage Cost Control,
Hoboken, New
Jersey: John Wiley & Sons, Inc.,
Shamoo, A.E. (1989). Principles of Research Data Audit. Gordon and Breach, New York.
Shepard, R.J. (2002). Ethics in exercise science research. Sports Med, 32 (3): 169-183.
Silverman, S., Manson, M. (2003). Research on teaching in physical education
doctoral
dissertations: a detailed investigation of focus, method, and analysis.
Journal of
Teaching in Physical Education, 22(3): 280-297.
Smeeton, N., Goda, D. (2003). Conducting and presenting social work research:
some basic
statistical considerations. Br J Soc Work, 33: 567-573.
Thompson, B., Noferi, G. 2002. Statistical, practical, clinical: How many types of
significance
should be considered in counseling research? Journal of Counseling &
Development,
80(4):64-71.
Resnik, D. (2000). Statistics, ethics, and research: an agenda for educations and
reform.
Accountability in Research. 8: 163-88
B. e-Resources
Dopson, L. R., Hayes, D. K., Food and beverage cost control. 6th edition. (2016), Retrieved
January, 2020 from http://www.cotr.bc.ca/bookstore/cotr_web.asp?IDNumber=164
for
a complete list of the currently required textbooks.
Harding, R. (2014, June 30). The productivity puzzles. Financial Times. Retrieved January,
2020 from http://www.ft.com/
Financial Management (2019). HOG historical prices, Harley Davidson, Inc. common stock.
(n.d.). Retrieved January, 2020 from http://finance.yahoo.com/q/hp?
s=HOG+Historical+Prices
Jack E. Miller, Lea R. Dopson and David K. Hayes (2014), Food and Beverage Cost Control
Third Edition, Retrieved January, 2020 from
https://www.scribd.com/document/364370774/Food-and-Beverage-Cost-Control-pdf
Lea R. Dopson, David K. Hayes, Food and Beverage Cost Control, 7th Edition
(2016),
Retrieved January, 2020 from
https://www.wiley.com/enus/Food+and+Beveragentrol%2C+7th+Edition
Marina Bay Sands, (2015). Media Centre | Company Information | Marina Bay Sands.
[online]
Marinabaysands.com, Retrieved January, 2020
<http://www.marinabaysands.com/company-information/media-centre.html>
Noble, D.F. (2012), Gallery of best resumes: A collection of quality resumes by professional
resume writer, Retrieved January, 2020, http://login.library.sheridanc.on.ca/login?
Odom, Clement K., "Logistics and Supply Chain Management in the Hotel
Industry: Impact
on Hotel Performance in Service Delivery" (2012). UNLV Theses,
Dissertations,
Professional Papers, and Capstones. 1339. Retrieved January, 2020,
https://digitalscholarship.unlv.edu/thesesdissertations/1339
Partridge, A.R (2011) Foodservice Logistics Brings Value to The Table. Retrieved
January,
2020 http://www.inboundlogistics.com/cms/article/foodservice-ticsvalue-to-
the table/
Peter Briscoe and Griff Tripp (2016), Chapter 4. Food and Beverage Services,
Retrieved
January, 2020 from https://opentextbc.ca/ir-4-food-and-beverage-services/
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 31 of 48
Republic of the Philippines
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
INSTRUCTIONAL MODULE
IM No.: IM-LM2-1ST-2021-
2022
Stuart-Hill, T (2013) A practical guide to competitive set selection: hotel business review,
Retrieved January, 2020 from
http://hotelexecutive.com/business_tical-guideto- competitive-set-selection
WILL KENTON, Cost Control. Updated Apr 9, 2019 retrieved January, 2020 from
https://www.investopedia.com/terms/c/cost-control.asp
Zhang, X., Song, H. and Huang, G., 2009. Tourism supply chain management: A new
research
agenda. Tourism Management, [online] 30(3), pp.345-358, Retrieved January,
2020 from
<http://www.sciencedirect.com/science/article/pii/S0261517708002161>
NVSU-FR-ICD-05-00 (081220)” In Accordance with Section. Fair Use of a Copyrighted Works of Republic Act 8293, the
copyrighted works included in this material may be reproduced for educational purposes only and not for commercial
distribution”.
Page 32 of 48