Vtucode » Data Analytics With Excel BCS358A
Vtucode » Data Analytics With Excel BCS358A
Q1. Getting Started with Excel: Creation of spread sheets, Insertion of rows and
columns, Drag & Fill, use of Aggregate functions.
Creating a Spreadsheet:
1. Open Excel:
Launch Microsoft Excel on your computer.
https://vtucode.in/data-analytics-with-excel-bcs358a 1/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
2. Blank Workbook:
Upon opening Excel, you’ll see a blank workbook. This is where you
can create your spreadsheet.
3. Entering Data:
Click on a cell and start typing to enter data.
1. Inserting Rows:
Right-click on the row number where you want to insert a new row.
Choose “Insert” from the context menu.
2. Inserting Columns:
Right-click on the column letter where you want to insert a new
column.
Choose “Insert” from the context menu.
https://vtucode.in/data-analytics-with-excel-bcs358a 2/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
1. AutoFill:
Enter a value in a cell.
Hover over the bottom-right corner of the cell until you see a small
square (the fill handle).
Click and drag to fill adjacent cells with a series or pattern.
Aggregate Functions:
1. SUM Function:
1.
2. AVERAGE Function:
https://vtucode.in/data-analytics-with-excel-bcs358a 3/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
3. COUNT Function:
To count the number of cells with numerical values, use the COUNT function.
Example: =COUNT(C1:C8) counts the number of cells in C1 through C8 that
contain numbers.
To find the maximum or minimum value in a range, use the MAX and MIN
functions.
Example: =MAX(D1:D6) returns the highest value in cells D1 through D6.
Formatting:
1. Cell Formatting:
https://vtucode.in/data-analytics-with-excel-bcs358a 4/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
Highlight cells or ranges and use the formatting options in the toolbar to
change font, color, and other formatting.
Adjust the width or height by placing the cursor on the border between column
or row headers, click and drag.
https://vtucode.in/data-analytics-with-excel-bcs358a 5/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
2. Closing Excel:
Click on the “X” button at the top-right corner of the Excel window.
Q2. Working with Data : Importing data, Data Entry & Manipulation, Sorting &
Filtering.
Importing Data:
1.
https://vtucode.in/data-analytics-with-excel-bcs358a 6/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
2. Copy-Paste:
1. Entering Data:
https://vtucode.in/data-analytics-with-excel-bcs358a 7/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
2. Data Validation:
Use the “Data Validation” feature to control what data can be entered in a cell.
3. Text to Columns:
4. Flash Fill:
Excel’s Flash Fill feature can automatically fill in values based on patterns you
establish.
https://vtucode.in/data-analytics-with-excel-bcs358a 8/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
1. Sorting Data:
2. Filtering Data:
3. Advanced Filter:
For more complex filtering, you can use the “Advanced Filter” option.
Go to the “Data” tab, click on “Advanced,” and set your criteria.
https://vtucode.in/data-analytics-with-excel-bcs358a 9/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
4. AutoFilter:
Additional Tips:
1. Remove Duplicates:
Use the “Remove Duplicates” feature in the “Data” tab to eliminate duplicate
values in a range.
2. Data Tables:
https://vtucode.in/data-analytics-with-excel-bcs358a 10/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
If you have a large dataset, consider converting it into an Excel Table (Ctrl + T).
Tables provide dynamic sorting and filtering options.
3. Transpose:
4. Conditional Formatting:
https://vtucode.in/data-analytics-with-excel-bcs358a 11/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
Q3. Working with Data: Data Validation, Pivot Tables & Pivot Charts.
Data Validation:
Data validation is the process of ensuring that the data entered into a cell meets
specific criteria.
Select the cell or range of cells where you want to apply data validation.
Go to the “Data” tab and click on “Data Validation.”
Choose the criteria (e.g., whole number, date, list) and set the validation rules.
2. Custom Validation:
Create custom validation rules using formulas to restrict data entry based on
specific conditions.
https://vtucode.in/data-analytics-with-excel-bcs358a 12/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
Provide helpful input messages and error alerts to guide users when entering
data.
Pivot Tables:
Pivot tables are powerful tools for summarizing and analyzing large amounts of data.
Drag and drop fields into the Rows and Columns areas to arrange data.
Drag numeric fields into the Values area to perform calculations (e.g., sum,
average).
https://vtucode.in/data-analytics-with-excel-bcs358a 13/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
Use the filter and grouping options within the pivot table to focus on specific
data.
Pivot Charts:
Pivot charts are visual representations of data created from a pivot table.
After creating a pivot table, select any cell in the pivot table.
Go to the “Insert” tab and click on “PivotChart.”
Choose the chart type you want.
https://vtucode.in/data-analytics-with-excel-bcs358a 14/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
Additional Tips:
1. Refreshing Data:
If your data changes, refresh the pivot table to update the results.
https://vtucode.in/data-analytics-with-excel-bcs358a 15/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
2. Drilling Down:
Double-clicking on a cell in a pivot table can allow you to drill down into the
underlying data.
Add calculated fields or items to perform custom calculations within the pivot
table.
https://vtucode.in/data-analytics-with-excel-bcs358a 16/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
If your data includes dates, use a timeline in the pivot table to filter data based
on date ranges.
Q4. Data Analysis Process: Conditional Formatting, What-If Analysis, Data Tables,
Charts & Graphs.
Conditional Formatting:
1. Highlighting Cells:
https://vtucode.in/data-analytics-with-excel-bcs358a 17/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
3. Data Bars:
What-If Analysis:
What-If Analysis allows you to explore different scenarios by changing input values
and observing the impact on calculated results.
1. Scenario Manager:
https://vtucode.in/data-analytics-with-excel-bcs358a 18/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
2. Goal Seek:
3. Solver:
https://vtucode.in/data-analytics-with-excel-bcs358a 19/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
Data Tables:
Data Tables help you analyze the impact of changing one or two variables on a
formula or set of formulas.
Analyze how changing one input variable affects the results of a formula.
Set up a data table with different values for the input variable.
Extend the analysis to two input variables by creating a two-variable data table.
Charts and graphs are powerful tools for visualizing data patterns and trends.
https://vtucode.in/data-analytics-with-excel-bcs358a 20/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
1. Creating Charts:
Select the data you want to visualize.
Go to the “Insert” tab and choose the desired chart type (e.g., bar
chart, line chart, pie chart).
2. Formatting Charts:
3. Combination Charts:
Combine different chart types within the same chart to represent multiple data
series.
https://vtucode.in/data-analytics-with-excel-bcs358a 21/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
4. Sparklines:
Additional Tips:
1. Dynamic Charts:
Make your charts dynamic by using named ranges or tables for the data
source.
https://vtucode.in/data-analytics-with-excel-bcs358a 22/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
2. Chart Animations:
3. Error Bars:
Include error bars in charts to show the margin of error or variability in data.
https://vtucode.in/data-analytics-with-excel-bcs358a 23/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
Ensure your charts have descriptive titles and labels for clarity.
Q5. Cleaning Data with Text Functions: use of UPPER and LOWER, TRIM function,
Concatenate.
1. UPPER Function:
https://vtucode.in/data-analytics-with-excel-bcs358a 24/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
2. LOWER Function:
TRIM Function:
1. TRIM Function:
Removes extra spaces from text, except for single spaces between words.
Syntax: =TRIM(text)
Example: =TRIM(C1) removes extra spaces from the text in cell C1.
https://vtucode.in/data-analytics-with-excel-bcs358a 25/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
CONCATENATE Function:
1. CONCATENATE Function:
Combines multiple text strings into one.
Syntax: =CONCATENATE(text1, [text2], ...)
Example: =CONCATENATE(A1, " ", B1) combines the text in cells A1
and B1 with a space in between.
Assuming you have first names in column A and last names in column B.
In cell C1, you can use =CONCATENATE(UPPER(A1), " ", UPPER(B1)) to
create a full name in uppercase with a space in between.
https://vtucode.in/data-analytics-with-excel-bcs358a 26/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
If you have text data in column D with extra spaces and mixed cases, you can
clean it using =TRIM(UPPER(D1)) in a new column.
Additional Tips:
Instead of CONCATENATE, you can use the & operator. Example: =A1 & " " &
B1 achieves the same result as =CONCATENATE(A1, " ", B1).
https://vtucode.in/data-analytics-with-excel-bcs358a 27/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
2. TEXT Function:
The TEXT function allows you to format a value as text with a specified format.
Example: =TEXT(DateCell, "yyyy-mm-dd") formats a date as “yyyy-mm-dd”.
Use MID, LEFT, and RIGHT functions to extract specific portions of text from a
cell.
https://vtucode.in/data-analytics-with-excel-bcs358a 28/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
The SEARCH function helps find the position of a substring within a text. The
REPLACE function allows you to replace a specific part of the text.
Q6. Cleaning Data Containing Date and Time Values: use of DATEVALUE function,
DATEADD and DATEDIF, TIMEVALUE functions.
1. DATEVALUE Function:
Purpose: Converts a date string to a serial number that represents the date.
Example (Excel): =DATEVALUE("2024-01-05")
Usage: Convert text representations of dates into a format that can be used for
calculations.
2. TIMEVALUE Function:
Purpose: Converts a time string to a serial number that represents the time.
https://vtucode.in/data-analytics-with-excel-bcs358a 29/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
3. DATEADD Function:
4. DATEDIF Function:
https://vtucode.in/data-analytics-with-excel-bcs358a 30/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
Let’s say you have a dataset with a column containing date and time values in text
format. You want to clean this data and perform some calculations.
Assuming your date and time values are in column A and the format is “yyyy-mm-dd
hh:mm:ss”:
Example (Excel):
Select the range of cells you want to format.
https://vtucode.in/data-analytics-with-excel-bcs358a 31/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
Example (Excel):
Apply icon sets to cells based on conditions (e.g., arrows indicating
value trends).
Go to “Conditional Formatting,” choose “Icon Sets,” and select the set
you want.
https://vtucode.in/data-analytics-with-excel-bcs358a 32/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
Example (Excel):
Apply data bars to visualize the magnitude of values in a cell.
Go to “Conditional Formatting,” choose “Data Bars,” and pick the
desired format.
https://vtucode.in/data-analytics-with-excel-bcs358a 33/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
6. Top/Bottom Rules:
Example (Excel):
Highlight the top or bottom percentage/values in a range.
Go to “Conditional Formatting,” choose “Top/Bottom Rules,” and set
the criteria.
7. Formula-Based Formatting:
Example (Excel):
Create custom rules using formulas.
Use “Use a formula to determine which cells to format” option in
conditional formatting.
https://vtucode.in/data-analytics-with-excel-bcs358a 34/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
Example (Excel):
Dynamically format cells based on changes in data using PivotTable
conditional formatting.
https://vtucode.in/data-analytics-with-excel-bcs358a 35/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
Q8. Working with Multiple Sheets: work with multiple sheets within a workbook is
crucial for organizing and managing data, perform complex calculations and create
comprehensive reports.
https://vtucode.in/data-analytics-with-excel-bcs358a 36/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
1. Organizing Data: You can segment your data into different sheets based on
categories, time periods, or any other relevant criteria. This helps keep your workbook
tidy and makes it easier to locate specific information.
2. Managing Data: With multiple sheets, you can manage large volumes of data more
efficiently. You can use features like sorting, filtering, and grouping within each sheet
to organize and manipulate your data as needed.
https://vtucode.in/data-analytics-with-excel-bcs358a 37/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
4. Cross-Sheet References: You can reference data from one sheet to another,
allowing you to create relationships between different sets of data within your
workbook. This is particularly useful for building summary reports or performing
analysis across multiple datasets.
5. Data Analysis and Visualization: You can use different sheets to store raw data,
intermediate calculations, and final results. This allows you to analyze your data step
by step and create comprehensive reports with charts, graphs, and pivot tables.
https://vtucode.in/data-analytics-with-excel-bcs358a 38/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
6. Collaboration: When working with teams, you can assign different sheets to
different team members or departments. This enables parallel work on different
aspects of a project while keeping all the data within the same workbook.
7. Data Protection: You can protect certain sheets within your workbook by setting
permissions or passwords. This helps prevent unauthorized access or accidental
modification of sensitive data.
https://vtucode.in/data-analytics-with-excel-bcs358a 39/46
12/5/24, 7:20 PM vtucode » Data Analytics with Excel BCS358A
Reply
vtucode says:
2024-01-17 at 7:26 am
Ok sure…
Reply
https://vtucode.in/data-analytics-with-excel-bcs358a 40/46