Final Advance Excel Book
Final Advance Excel Book
Page 1 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
Page 3 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
Chapter 1: Formulas and Functions
1. ARRY Formulas
What is an Array Formula?
An array formula allows you to perform multiple calculations in one
formula. An array is a group of values, and with array formulas, you can
perform operations on each value in the array at once.
2. IF Function
The IF function allows you to perform a test and return one value if
true, and another value if false.
Syntax: =IF(condition, value_if_true, value_if_false)
Example: =IF(A1 > 10, “Yes”, “No”)
If the value in A1 is greater than 10, it returns "Yes". Otherwise, it
returns "No".
Nested IF: =IF(A1 > 10, “High”, IF(A1 > 5, “Medium”, “Low”))
Page 4 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
Example: A B
1 Product Price
2 Apple 50
3 Banana 30
4 Orange 40
4. INDEX-MATCH
INDEX and MATCH together are a more flexible alternative to VLOOKUP.
While VLOOKUP only works when the lookup column is on the left of the
return column, INDEX-MATCH can look up values anywhere in the table.
Page 5 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
5. SUMIF
SUMIF:
The SUMIF function adds up values based on a single condition.
Syntax: =SUMIF(range, criteria)
Example: A B
1 Product Quantity
2 Apple 10
3 Banana 5
4 Orange 12
5 Mango 20
6. COUNTIF
COUNIF:
The COUNTIF function counts the number of cells that meet a
specific condition.
Syntax: =COUNTIF(range, criteria)
Page 6 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
Example: A B
1 Name Sales
2 John 200
3 Alice 500
4 Bob 100
5 Charlie 400
8. CONCATENATE
• CONCATENATE: Joins multiple text strings into one.
Example: =CONCATENATE(“Hello”, “ ”, “World”)
Page 7 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
9. AND, OR, NOT
These functions allow you to perform logical test.
• AND: Check both conditions, if both conditions true it’s
return TRUE else return FALSE.
• OR: Check both conditions, if any condition true it’s return
TRUE else return FALSE.
• NOT: If condition not true then it’s return TRUE else FALSE.
Example:
A B C
1 Name Sales Experience
2 John 600 4
3 Alice 400 5
Page 8 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
Chapter 02: Data Analysis Tools
(Techer will discuss about each and every topic in details.)
Sorting Formula:
Sorting doesn’t use a direct formula but helps prepare data for
analysis. After sorting by Score (descending):
Filter the table to show scores greater than 50 using the
following steps:
1. Go to Data > Filter.
2. Use the filter dropdown to select rows where Score > 50.
Page 9 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
❖ Conditional Formatting
Example: Highlight Scores Below 50
Objective: Highlight all scores below 50 in red.
Step-by-Step Process:
1. Select the Range:
o Highlight the cells in the Score column (e.g., B2:B5).
2. Go to Conditional Formatting:
o Navigate to the Excel ribbon: Home > Conditional Formatting
> New Rule.
3. Select a Rule Type:
o Choose "Use a formula to determine which cells to format".
4. Enter the Formula:
o Input the following formula: =B2<50
Explanation:
This checks if the value in cell B2 is less than 50. Excel will apply
formatting to all matching cells in the range.
5. Set the Format:
o Click Format and choose a red fill color from the Fill tab.
o Click OK.
6. Apply the Rule:
o Click OK in the Conditional Formatting dialog box.
Result:
Only Shanto (40) is highlighted in red because their score is below 50.
Page 10 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
❖ What-If Analysis
Example: Goal Seek
Goal Seek is an advanced tool in Excel that allows you to find the input
value needed to achieve a specific goal for a formula.
How Goal Seek Works
1. Identify a formula that depends on one variable.
2. Set a "goal" for the result of the formula.
3. Use Goal Seek to adjust the input value automatically to achieve
the desired goal.
Example: Sales Volume to Achieve Target Profit
A company wants to calculate the sales volume needed to achieve a
profit of $10,000.
Dataset
A B
1 Description Value
2 Selling Price per unit $50
3 Fixed Cost $2,000
4 Profit (Target) $10,000
5 Sales Volume (to determine) (to be found)
Page 11 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
o Set Cell: Select the formula cell (B4).
o To Value: Enter the target value (10000).
o By Changing Cell: Select the input cell (B5).
4. Run Goal Seek:
o Click OK to calculate the result.
Result:
Cell Updated Value
Page 12 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
Objective:
Step-by-Step Process:
▪ Click OK.
Page 13 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
❖ Pivot Chart
A Pivot Chart is a graphical representation of data from a Pivot Table. It
allows for dynamic interaction and visualization of summarized data,
making it easier to identify trends and insights.
Objective:
1. Create a Pivot Chart to show total sales by Region.
2. Use a Pie Chart to visualize sales distribution by Product.
Page 14 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
Step-by-Step Process
1. Create a Pivot Table:
1. Select the dataset.
2. Go to Insert > Pivot Table.
3. Place it in a new worksheet.
4. Add fields to the Pivot Table:
o Rows: Drag Region.
4. Click OK.
Result:
Total
8000
7000
6000
5000
4000 Total
3000
2000
1000
0
West South North East
Page 15 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
3. Data Validation
Scenario:
You want to restrict the entry to dates between January 1, 2023 and
December 31, 2023 for cell C1.
Steps:
1. Select the cell (e.g., C1).
2. Go to Data > Data Validation.
3. In the Settings tab, select Date from the Allow drop-down.
4. In the Data drop-down, select between.
5. Set the Start Date to 01/01/2023 and the End Date to 12/31/2023.
6. Click OK.
Result:
Now, only dates between January 1, 2023, and December 31, 2023, can
be entered into cell C1. Excel will display an error message if a date
outside of this range is entered.
Page 16 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
2. Error Alert:
o You can customize the error message that appears when
5. Data Consolidation
Example: Combining Monthly Sales
A B C
1 Name Region Sales
2 January East 1500
3 January West 2000
4 February East 1800
5 February West 2200
Page 17 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
Steps:
1. Go to Data > Consolidate.
2. Use SUM to combine sales by region.
A B
1 Region Total
2 East 3300
3 West 4200
6. Remove Duplicates
This function used for removing duplicate data from the dataset.
Example: A B
1 Name Sales
2 Saddam 200
3 Shanto 300
4 Saddam 200
Steps:
Page 18 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
Month Sales
January 1000
February 1500
Page 19 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
• Example: Month Sales
Dataset: March 1200
Steps to Create:
1. Select the dataset.
2. Go to the Insert tab.
3. Choose Column Chart > Clustered Column.
The chart will display bars for each month’s sales.
Steps to Create:
1. Select the dataset.
2. Go to the Insert tab.
3. Choose Pie Chart.
The pie chart will represent the market share
distribution.
Steps to Create:
1. Select the dataset.
2. Go to the Insert tab.
3. Choose Line Chart.
Page 21 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
2.4 Scatter Plot
• Use: Analyzing relationships between two variables.
• Example:
Dataset: Study Hours Test Score
2 50
4 60
6 80
Steps to Create:
1. Select the dataset.
2. Go to the Insert tab.
3. Choose Scatter Plot.
3. Slicers
Slicers are visual filters for PivotTables and PivotCharts. They
allow users to interactively filter data.
Page 22 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
Example: Region Sales Product
Dataset
North 5000 A
South 3000 B
East 4000 C
West 2000 A
Steps:
1. Create a PivotTable with Region as rows and Sales as
values.
2. Go to the Insert tab > Slicer.
3. Select a field (e.g., Product).
4. Use the slicer to filter PivotTable data by product.
4. Sparklines
Sparklines are mini-charts that fit in a single cell to show trends.
Month Sales
January 1000
February 1500
Page 23 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
Example: Month Sales
Dataset
March 1200
Steps:
1. Select a cell next to the data range.
2. Go to the Insert tab > Sparklines.
3. Choose a sparkline type (e.g., line, column, or win/loss).
4. Select the data range for the sparkline.
5. Interactive Dashboard
Features of an Interactive Dashboard
• Dynamic Filtering: Users can filter data interactively using
slicers or drop-down menus.
• Real-Time Updates: Dashboards can automatically update
when the underlying data changes.
• Multiple Data Views: Users can view data in various
formats, such as charts, tables, and summaries.
• Customizable: Dashboards can be tailored to meet specific
business needs.
Page 24 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
Components of an Interactive Dashboard
1. PivotTables: Summarize large datasets into a manageable
format.
2. PivotCharts: Visualize summarized data dynamically.
3. Slicers: Provide an easy way to filter data in PivotTables and
PivotCharts.
4. Form Controls: Include buttons, combo boxes, or drop-down
menus for added interactivity.
5. Conditional Formatting: Highlight important data points
directly on the dashboard.
Page 25 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
Step 2: Create PivotTables
1. Insert PivotTables:
o Select the dataset.
o Go to Insert > PivotTable.
o Place it on a new worksheet.
Page 26 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
2. Go to Insert > Slicer.
3. Choose fields (e.g., Region, Product).
4. Position slicers on the dashboard and format them for clarity.
How Slicers Work:
• Clicking a slicer filters all linked PivotTables and PivotCharts
simultaneously.
Step 5: Add Interactivity with Form Controls
• Use drop-down menus or combo boxes for additional filtering.
• Example: Create a drop-down to switch between different metrics
(e.g., Sales, Profit).
1. Go to Developer > Insert > Form Controls.
2. Add a Combo Box or Drop-Down List.
3. Link it to a cell and use it to control formulas or PivotTable filters.
Step 6: Design the Dashboard
• Arrange PivotCharts, slicers, and form controls neatly.
• Add headings and labels for clarity.
• Use consistent colors and fonts to enhance readability.
6. Tips for Effective Visualization
• Choose the right chart for your data.
• Keep charts simple and avoid clutter.
• Use consistent colors for clarity.
• Add labels and legends for context.
Page 27 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
Chapter 04: Automation and Macros
(Techer will discuss about each and every topic in details.)
1. Introduction to Automation
Automation eliminates repetitive manual tasks by running
predefined steps with a single click or keystroke.
Why Automate?
• Saves time and effort.
• Reduces errors.
• Increases productivity.
2. Understanding Macros
A macro is a series of actions recorded in Excel to perform tasks
automatically. These actions can include formatting cells,
copying and pasting data, and creating formulas.
Key Components:
• Recording Macros: Capture tasks without writing code.
• Running Macros: Execute recorded actions.
• VBA Editor: Customize and create advanced macros using
VBA.
3. Recording Macros
Recording macros is a beginner-friendly way to automate tasks.
Page 28 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
Steps to Record a Macro:
1. Enable the Developer Tab:
o Go to File > Options > Customize Ribbon and check
Developer.
2. Start Recording:
o Go to the Developer Tab and click Record Macro.
o Provide a name, shortcut key (optional), and storage location
(This Workbook or Personal Macro Workbook).
3. Perform Actions:
o Complete the tasks you want to automate (e.g., formatting
cells or creating formulas).
4. Stop Recording:
o Click Stop Recording on the Developer tab.
Page 29 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
Steps:
1. Start recording the macro.
2. Select the table and apply bold formatting.
3. Change font color to blue.
4. Add borders to the table.
5. Stop recording the macro.
Page 30 of 31
KNOWLEDGE INFORMATION TECHNOLOGY
2. Locate the macro under Modules in the workbook’s
project tree.
The End
Page 31 of 31