Da With Excel Note
Da With Excel Note
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:
o Launch Microsoft Excel on your computer.
2. Blank Workbook:
o Upon opening Excel, you’ll see a blank workbook. This is where you can create
your spreadsheet.
3. Entering Data:
o Click on a cell and start typing to enter data.
Aggregate Functions:
1. SUM Function:
2. AVERAGE Function:
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.
4
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:
Highlight cells or ranges and use the formatting options in the toolbar to change font,
colour, and other formatting.
5
Adjust the width or height by placing the cursor on the border between column or row
headers, click and drag.
Adjust the width or height by placing the cursor on the border between column or row
headers, click and drag.
6
2. Closing Excel:
Click on the “X” button at the top-right corner of the Excel window.
7
Q2. Working with Data : Importing data, Data Entry & Manipulation, Sorting &
Filtering.
Importing Data:
1. Importing External Data:
2. Copy-Paste:
Copy data from an external source (e.g., a website, another spreadsheet, or a text file).
Paste it into Excel using “Ctrl + V.”
8
2. Data Validation:
Use the “Data Validation” feature to control what data can be entered in a cell.
9
3. Text to Columns:
If data is separated by delimiters, use the “Text to Columns” feature to split it into
separate columns.
4. Flash Fill:
Excel’s Flash Fill feature can automatically fill in values based on patterns you
establish.
10
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.
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:
If you have a large dataset, consider converting it into an Excel Table (Ctrl + T).
Tables provide dynamic sorting and filtering options.
13
3. Transpose:
4. Conditional Formatting:
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.
15
Provide helpful input messages and error alerts to guide users when entering data.
Pivot Tables:
Pivot tables are powerful tools for summarizing and analysing 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).
Use the filter and grouping options within the pivot table to focus on specific data.
17
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.
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.
19
Add calculated fields or items to perform custom calculations within the pivot table.
If your data includes dates, use a timeline in the pivot table to filter data based on date
ranges.
20
Q4. Data Analysis Process: Conditional Formatting, What-If Analysis, Data Tables,
Charts & Graphs.
Conditional Formatting:
1. Highlighting Cells:
Use conditional formatting to highlight cells based on certain criteria (e.g., values
greater than or less than a specific number).
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:
2. Goal Seek:
3. Solver:
Solver is an Excel add-in that allows you to optimize solutions by changing variable
values within certain constraints.
23
Data Tables:
Data Tables help you analyse the impact of changing one or two variables on a formula or set
of formulas.
Analyse 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.
24
1. Creating Charts:
o Select the data you want to visualize.
o Go to the “Insert” tab and choose the desired chart type (e.g., bar chart, line chart,
pie chart).
25
2. Formatting Charts:
3. Combination Charts:
Combine different chart types within the same chart to represent multiple data series.
26
4. Spark lines:
Use spark lines to create small, in-cell charts that provide a visual representation of
trends.
Additional Tips:
1. Dynamic Charts:
Make your charts dynamic by using named ranges or tables for the data source.
27
2. Chart Animations:
Add animations to charts to enhance the presentation of data changes over time.
3. Error Bars:
Include error bars in charts to show the margin of error or variability in data.
28
Ensure your charts have descriptive titles and labels for clarity.
29
Q5. Cleaning Data with Text Functions: use of UPPER and LOWER, TRIM function,
Concatenate.
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:
o Combines multiple text strings into one.
o Syntax: =CONCATENATE(text1, [text2], ...)
o Example: =CONCATENATE(A1, " ", B1) combines the text in cells A1 and B1 with
a space in between.
31
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.
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.
32
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 specified format.
Example: =TEXT(DateCell, "yyyy-mm-dd") formats a date as “yyyy-mm-dd”.
33
Use MID, LEFT, and RIGHT functions to extract specific portions of text from a cell.
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.
34
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.
35
3. DATEADD Function:
4. DATEDIF Function:
Purpose: Calculates the difference between two dates in years, months, or days.
Example (Excel): =DATEDIF(A1, B1, "d")
Usage: Determine the duration between two dates, useful for age calculation or
tracking time intervals.
36
Assuming your date and time values are in column A and the format is “yyyy-mm-dd
hh:mm:ss”:
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.
40
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.
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 specific information.
43
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.
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.
4. 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.
45
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.
Overall, leveraging multiple sheets within a workbook enhances the flexibility, efficiency,
and organization of your data management and analysis processes.