Vtucode Data Analytics With Excel BCS358A
Vtucode Data Analytics With Excel BCS358A
The impact of
technology
In#neon
×
Home » 3rd semester 2022 scheme » BCS358A
Creating a Spreadsheet:
1. Open Excel:
Launch Microsoft Excel on your computer.
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.
Inserting Rows and Columns:
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.
1. AutoFill:
Enter a value in a cell.
Hover over the bottom-right corner of the cell until you see a small
square (the Pll handle).
Click and drag to Pll adjacent cells with a series or pattern.
Aggregate Functions:
1. SUM Function:
1.
2. AVERAGE 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 Pnd 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:
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.
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:
2. Copy-Paste:
1. Entering Data:
Use the “Data Validation” feature to control what data can be entered in a
cell.
3. Text to Columns:
Excel’s Flash Fill feature can automatically Pll in values based on patterns
you establish.
1. Sorting Data:
2. Filtering Data:
For more complex Pltering, you can use the “Advanced Filter” option.
Go to the “Data” tab, click on “Advanced,” and set your criteria.
4. AutoFilter:
1. Remove Duplicates:
Use the “Remove Duplicates” feature in the “Data” tab to eliminate duplicate
values in a range.
2. Data Tables:
If you have a large dataset, consider converting it into an Excel Table (Ctrl +
T). Tables provide dynamic sorting and Pltering options.
3. Transpose:
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 speciPc
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 speciPc conditions.
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 Pelds into the Rows and Columns areas to arrange data.
Drag numeric Pelds into the Values area to perform calculations (e.g., sum,
average).
3. Filtering and Grouping:
Use the Plter and grouping options within the pivot table to focus on speciPc
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.
2. Customizing Pivot Charts:
Additional Tips:
1. Refreshing Data:
If your data changes, refresh the pivot table to update the results.
2. Drilling Down:
Double-clicking on a cell in a pivot table can allow you to drill down into the
underlying data.
If your data includes dates, use a timeline in the pivot table to Plter data
based on date ranges.
Q4. Data Analysis Process: Conditional Formatting, What-If Analysis, Data Tables,
Charts & Graphs.
Conditional Formatting:
1. Highlighting Cells:
3. Data Bars:
What-If Analysis allows you to explore different scenarios by changing input values and
observing the impact on calculated results.
1. Scenario Manager:
2. Goal Seek:
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.
2. Two-Variable Data Table:
Charts and graphs are powerful tools for visualizing data patterns and trends.
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.
4. Sparklines:
Additional Tips:
1. Dynamic Charts:
Make your charts dynamic by using named ranges or tables for the data
source.
2. Chart Animations:
3. Error Bars:
Include error bars in charts to show the margin of error or variability in data.
4. Chart Titles and Labels:
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:
Converts text to uppercase.
Syntax: =UPPER(text)
Example: =UPPER(A1) converts the text in cell A1 to uppercase.
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.
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.
Combining Text Functions:
Assuming you have Prst 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.
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:
1. & Operator for Concatenation:
Instead of CONCATENATE, you can use the & operator. Example: =A1 & "
" & B1 achieves the same result as =CONCATENATE(A1, " ", B1).
2. TEXT Function:
The TEXT function allows you to format a value as text with a speciPed
format. Example: =TEXT(DateCell, "yyyy-mm-dd") formats a date as
“yyyy-mm-dd”.
Use MID, LEFT, and RIGHT functions to extract speciPc portions of text from
a cell.
4. SEARCH and REPLACE Functions:
The SEARCH function helps Pnd the position of a substring within a text. The
REPLACE function allows you to replace a speciPc 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.
Example (Excel): =TIMEVALUE("12:30 PM")
Usage: Convert text representations of times into a format suitable for
calculations.
3. DATEADD Function:
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”:
1. Separate Date and Time:
In column B, use the formula =DATEVALUE(A1) to extract the date.
In column C, use the formula =TIMEVALUE(A1) to extract the
time.
2. Add Days to Date:
In column D, use the formula =DATEADD(B1, 7) to add 7 days to
the date.
3. Calculate Time Difference:
In column E, use the formula =DATEDIF(C1, C2, "h") to
calculate the time difference in hours between two time values.
Example (Excel):
Select the range of cells you want to format.
Go to the “Home” tab, click on “Conditional Formatting,” and choose
“Highlight Cells Rules.”
Set rules such as “Greater Than,” “Less Than,” or “Equal To” and
dePne the criteria.
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.
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.
Example (Excel):
Dynamically format cells based on changes in data using
PivotTable conditional formatting.
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.
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 speciPc information.
2. Managing Data: With multiple sheets, you can manage large volumes of data more
ehciently. You can use features like sorting, Pltering, and grouping within each sheet to
organize and manipulate your data as needed.
5. Data Analysis and Visualization: You can use different sheets to store raw data,
intermediate calculations, and Pnal results. This allows you to analyze your data step by
step and create comprehensive reports with charts, graphs, and pivot tables.
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
modiPcation of sensitive data.
Overall, leveraging multiple sheets within a workbook enhances the iexibility, ehciency,
and organization of your data management and analysis processes.
« »
Project Management with Git ArtiPcial Intelligence and Machine Learning
BCS358C 21AI54
Reply
vtucode says:
2024-01-17 at 7:26 am
Ok sure…
Reply
9 and 10 program??
Reply
Hairstyles says:
2024-02-14 at 10:15 am
Reply
Thank you for your articles. They are very helpful to me. Can you help me with
something?
Reply
siddharth kanabargi says:
2024-02-22 at 4:58 pm
improvement needed not covered all the formulas and give the snapshots of
result spreadsheets
Reply
vtucode says:
2024-02-23 at 8:51 am
Reply
Reply
can you upload the rest of the programs which are 9,10,11,12 with images as
soon as possible
Reply
Reply
Leave a Reply
Your email address will not be published. Required Pelds are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
Post Comment
search... Search
Note: If you have any useful Engineering related study materials with you, Kindly Share
with us, it will be more useful to other Students those who are Pnancially troubled but
deserving to Learn...
Upload Material
Download App
Recent Posts
Categories
2022 SCHEME
CSE
First year
Archives
2024
2023