0% found this document useful (0 votes)
22 views29 pages

Excel Notes

excel for managerial use

Uploaded by

raisneha215
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views29 pages

Excel Notes

excel for managerial use

Uploaded by

raisneha215
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 29

UNIT I: Excel Basics and Data Management

This unit covers the foundational skills necessary for effective data management
and basic operations in Excel. Mastery of these topics will help you efficiently
create, format, and manipulate spreadsheets for various business applications.
1. Introduction to Excel Interface
 Excel Interface Overview:
o Ribbon: Contains tabs with groups of commands (e.g., Home, Insert,
Data).
o Worksheet Tabs: Located at the bottoallow m, navigation between
different sheets.
o Formula Bar: Displays the content of the selected cell.

o Status Bar: Shows information about the current operation and


selected cells.
 Creating and Saving Excel Documents:
o Creating a New Document: Open Excel and select File > New >
Blank Workbook.
o Saving a Document: Go to File > Save As and choose the location
and file format (e.g., .xlsx, .xls).
2. Formatting Cells
 Font Formatting:
o Change font type, size, color, and style (bold, italic, underline) via the
Home tab.
 Alignment:
o Align text horizontally (left, center, right) and vertically (top, middle,
bottom) using the alignment options in the Home tab.
 Number Formatting:
o Format numbers as currency, percentage, date, or custom formats via
the Number group in the Home tab.
 Cell Styles:
o Apply predefined cell styles for a consistent look by selecting from the
Cell Styles dropdown in the Home tab.
3. Using Operators and Basic Functions
 Operators:
o Addition (+): =A1 + B1

o Subtraction (-): =A1 - B1

o Multiplication (*): =A1 * B1

o Division (/): =A1 / B1

 Auto Functions:
o SUM: =SUM(A1:A10) adds all values in the range.

o MAX: =MAX(A1:A10) finds the highest value in the range.

o MIN: =MIN(A1:A10) finds the lowest value in the range.

o AVERAGE: =AVERAGE(A1:A10) calculates the average of values.

o COUNT: =COUNT(A1:A10) counts the number of numeric values.

 Adding/Deleting Comments:
o Adding Comments: Right-click on a cell and select Insert Comment
or New Note (depending on Excel version).
o Deleting Comments: Right-click on the comment indicator and select
Delete Comment.
 Intersect Operator with SUM Function:
o Usage: =SUM(A1:A10 B1:B10) sums the intersection of two ranges.

4. Data Management and Viewing


 Freezing Rows and Columns:
o Go to View > Freeze Panes and select the desired option to keep rows
or columns visible while scrolling.
 Comparing Same Sheet Side by Side:
o Go to View > View Side by Side to compare two sheets.

 Using View Tab/New Window:


o Go to View > New Window to open another window for the same
workbook, useful for comparing different parts of the data.
 Splitting Sheet Pane:
o Go to View > Split to divide the sheet into separate panes for easier
navigation.
 Copy-Paste and Clipboard:
o Copy-Paste: Use Ctrl + C to copy and Ctrl + V to paste.
o Clipboard: Use the Clipboard group in the Home tab to access copied
items.
 Paste Special and Its Applications:
o Paste Special: Go to Home > Paste > Paste Special to choose specific
attributes to paste (e.g., values only, formats).
5. Customizing and Linking Data
 Editing Quick Access Toolbar:
o Customize by clicking the down arrow on the Quick Access Toolbar and
selecting More Commands.
 Hide/Unhide Sheets:
o Hide Sheets: Right-click the sheet tab and select Hide.

o Unhide Sheets: Right-click any sheet tab, select Unhide, and choose
the sheet to display.
 Move and Copy Worksheets:
o Move/Copy: Right-click the sheet tab, select Move or Copy, and
choose the destination workbook or position.
 Creating Your Own Tab:
o Go to File > Options > Customize Ribbon to create a custom tab and
add commands.
 Link Data in Different Sheets:
o Linking: Use formulas like =Sheet2!A1 to reference cells from another
sheet.
 Link Data in Different Excel Files:
o Linking: Use formulas like ='[Workbook2.xlsx]Sheet1'!A1 to reference
cells from a different workbook.
 Excel Options:
o Go to File > Options to customize Excel settings and preferences.

 Auto Fill:
o Fill Series: Drag the fill handle to automatically fill a series (e.g.,
numbers, dates).
o Flash Fill: Automatically fill in values based on patterns.

o Create Custom List: Go to File > Options > Advanced > Edit Custom
Lists.
 Clear, Goto, and Goto Special:
o Clear: Remove content, formats, or comments from selected cells.

o Goto: Use Ctrl + G or F5 to navigate to a specific cell.

o Goto Special: Use Home > Find & Select > Go To Special to select
specific types of cells (e.g., blanks, formulas).
Summary of Key Concepts:
1. Excel Interface: Familiarize yourself with the layout and main components
of Excel.
2. Formatting Cells: Learn to format text, numbers, and cells to enhance the
presentation of your data.
3. Basic Functions and Operators: Use basic operators and functions for
data calculations and manipulations.
4. Data Management: Master tools for viewing, copying, and linking data
within and across Excel files.
5. Customization: Customize the interface and functionality to suit your
workflow needs.
Applications:
 Use these foundational skills to manage and analyze data efficiently in
various business scenarios.
 Customize your Excel environment and leverage advanced features for
improved productivity.
By mastering these basic and data management skills, you will build a strong
foundation for more advanced Excel functions and analysis techniques.

UNIT II: Data Cleaning and Transformation


1. Introduction to Filters:
o Number Filters:

 Filter data by specific numbers or ranges (e.g.,


greater than, less than).
 Go to Data > Filter, click the drop-down arrow in
the column header, and select Number Filters.
o Date Filters:
 Filter data by dates or ranges (e.g., before, after,
between).
 Go to Data > Filter, click the drop-down arrow, and
select Date Filters.
o Text Filters:

 Filter data by specific text criteria (e.g., contains,


does not contain).
 Go to Data > Filter, click the drop-down arrow, and
select Text Filters.
o Filter by Colors:

 Filter data based on cell or font colors.


 Click the drop-down arrow in the column header
and select Filter by Color.
o Filter Using Special Characters:

 Filter data using wildcards like * (any sequence of


characters) or ? (any single character).
 Go to Data > Filter, click the drop-down arrow, and
use Text Filters with wildcards.
2. Creating Excel Data Tables:
o Editing and Resizing:

 Convert a range to a table by selecting the range


and going to Insert > Table.
 Adjust the table size by dragging the handles.
o Table Design Tab:

 Modify table styles, add or remove table features


(like headers and totals).
 Access from Table Tools > Design.
o Table Style Options & Calculations:

 Change table styles and apply features like banded


rows and columns.
 Use table formulas for automatic calculations.
o Convert to Range:

 Convert a table back to a regular range by going to


Table Tools > Design > Tools > Convert to Range.
o Adding Slicers:

 Add slicers to filter data visually: Table Tools >


Design > Insert Slicer.
o Linking Files Using Data Tables:

 Create a link between tables in different files by


referencing external data ranges.
3. Data Sorting:
o Multi-Column Sorting:

 Sort data by multiple columns: Go to Data > Sort,


add levels to sort by different criteria.
o Multiple Level Sorting:

 Define primary, secondary, etc., sorting levels to


control the order of sorting.
o Sorting by Color:

 Sort cells by fill or font color: Go to Data > Sort,


and select Sort by Color.
o Reverse Sorting:

 Sort data in descending order by selecting Sort Z to


A or similar options.
o Sorting by Custom List:

 Sort data based on a custom list you define: Go to


Data > Sort > Order > Custom List.
o Horizontal Sorting:

 Sort data across rows instead of columns by


selecting the range and applying sorting options.
4. Cell Referencing:
o Relative Referencing:

 Adjusts when copied to another cell: e.g., A1


becomes B1 when copied right.
o Absolute Referencing:

 Fixed reference that doesn’t change: $A$1 always


refers to cell A1.
o Mixed Referencing:
 Combines relative and absolute references: e.g.,
$A1 (column fixed, row relative) or A$1 (row fixed,
column relative).
o Circular Referencing:

 Occurs when a formula refers to its own cell


directly or indirectly. Excel warns you with an error
message, and you can find it under Formulas >
Error Checking.
5. Text Functions:
o CONCATENATE, CONCAT, TEXTJOIN, and '&' Operator:

 CONCATENATE: Combines multiple text strings:


=CONCATENATE(A1, B1)
 CONCAT: Similar to CONCATENATE but more
flexible: =CONCAT(A1, B1)
 TEXTJOIN: Joins text with a delimiter:
=TEXTJOIN(",", TRUE, A1:A5)
 & Operator: Concatenates text: =A1 & " " & B1
o Text Manipulation Functions:

 LOWER, UPPER, PROPER, TRIM:


 LOWER(text): Converts text to lowercase.
 UPPER(text): Converts text to uppercase.
 PROPER(text): Capitalizes the first letter of
each word.
 TRIM(text): Removes extra spaces from text.
 LEFT, RIGHT, MID:
 LEFT(text, num_chars): Extracts characters
from the start.
 RIGHT(text, num_chars): Extracts characters
from the end.
 MID(text, start_num, num_chars): Extracts
characters from a specified position.
 LEN, SUBSTITUTE, REPLACE:
 LEN(text): Returns the length of a text string.
 SUBSTITUTE(text, old_text, new_text,
[instance_num]): Replaces specific text.
 REPLACE(text, start_num, num_chars,
new_text): Replaces part of a text string.
 FIND, SEARCH:
 FIND(find_text, within_text, [start_num]):
Finds a text string within another (case-
sensitive).
 SEARCH(find_text, within_text, [start_num]):
Similar to FIND but not case-sensitive.
 REPT, EXACT:
 REPT(text, number_times): Repeats text a
specified number of times.
 EXACT(text1, text2): Checks if two text
strings are exactly the same.
6. Text to Column:
o Delimited:

 Split text into columns based on delimiters like


commas, spaces, etc.: Data > Text to Columns >
Delimited.
o Fixed Width:

 Split text based on specific column widths: Data >


Text to Columns > Fixed Width.
7. Remove Duplicates:
o Purpose: Remove duplicate values from a range or table.

o Steps:

 Select the range, go to Data > Remove Duplicates,


and choose columns to check for duplicates.
8. Types of Errors in Excel:
o Common Errors:

 #DIV/0!: Division by zero.


 #N/A: Value not available.
 #VALUE!: Wrong type of argument.
 #REF!: Invalid cell reference.
 #NAME?: Unrecognized formula name.
 #NUM!: Problem with a number in a formula.
 #NULL!: Incorrect range or intersection.
9. Random Numbers:
o Generate Random Numbers:

 RAND(): Returns a random number between 0 and


1.
 RANDBETWEEN(bottom, top): Returns a random
integer between specified values.
10. Custom Views:
o Purpose: Save different views of your workbook.

o Steps:

 Go to View > Custom Views > Add to save a view,


and choose Show to display a saved view.
11. Import Data from Text File:
o Steps:

 Go to Data > Get Data > From File > From Text/CSV,
and follow the wizard to import and format text
data.
12. Data Validation:
o Any Value, List, Date/Time, Length:

 Any Value: No restrictions.


 List: Restrict input to a predefined list.
 Date/Time: Restrict input to specific dates or times.
 Length: Restrict the length of text input.
13. Developer Tools:
o Spin Button, Check Box, Group Box, Option Button:

 Spin Button: Use for incrementing or decrementing


values.
 Check Box: Add a checkbox to indicate a true/false
option.
 Group Box: Group related controls together.
 Option Button: Allow users to select one option
from a group

UNIT III: Advanced Functions and Formulas


This unit delves into advanced Excel functions and formulas that enhance
data analysis and decision-making. You’ll explore logical functions, conditional
calculations, financial functions, and advanced data formatting techniques.
1. Logical Operators and Functions
 Logical Operators:
o AND: Returns TRUE if all arguments are TRUE.
Syntax: =AND(condition1, condition2, ...)
Example: =AND(A1 > 10, B1 < 5) returns TRUE if both conditions are
met.
o OR: Returns TRUE if at least one argument is TRUE.
Syntax: =OR(condition1, condition2, ...)
Example: =OR(A1 > 10, B1 < 5) returns TRUE if at least one condition
is met.
o NOT: Returns TRUE if the argument is FALSE.
Syntax: =NOT(condition)
Example: =NOT(A1 > 10) returns TRUE if A1 is not greater than 10.
o XOR: Returns TRUE if an odd number of arguments are TRUE.
Syntax: =XOR(condition1, condition2, ...)
Example: =XOR(A1 > 10, B1 < 5) returns TRUE if one, but not both,
conditions are met.
 IF Function:
o Purpose: Returns one value if a condition is TRUE and another if
FALSE.
Syntax: =IF(condition, value_if_true, value_if_false)
Example: =IF(A1 > 10, "Yes", "No") returns "Yes" if A1 is greater than
10, otherwise "No".
 Combining IF with Logical Functions:
o IF-AND: =IF(AND(condition1, condition2), value_if_true, value_if_false)
Example: =IF(AND(A1 > 10, B1 < 5), "Pass", "Fail") returns "Pass" if
both conditions are true.
o IF-OR: =IF(OR(condition1, condition2), value_if_true, value_if_false)
Example: =IF(OR(A1 > 10, B1 < 5), "Yes", "No") returns "Yes" if at
least one condition is true.
o IF-NOT: =IF(NOT(condition), value_if_true, value_if_false)
Example: =IF(NOT(A1 > 10), "Not Greater", "Greater") returns "Not
Greater" if A1 is not greater than 10.
o XOR with IF: =IF(XOR(condition1, condition2), value_if_true,
value_if_false)
Example: =IF(XOR(A1 > 10, B1 < 5), "True", "False") returns "True" if
one condition is true and the other is false.
 COUNT Functions:
o COUNT: Counts the number of cells that contain numbers.
Syntax: =COUNT(range)
Example: =COUNT(A1:A10) counts the number of cells with numeric
values in A1
.
o COUNTA: Counts the number of non-empty cells.
Syntax: =COUNTA(range)
Example: =COUNTA(A1:A10) counts all non-empty cells in A1
.
o COUNTBLANK: Counts the number of empty cells.
Syntax: =COUNTBLANK(range)
Example: =COUNTBLANK(A1:A10) counts the number of empty cells
in A1
.
 Conditional Counting and Summing:
o COUNTIF: Counts the number of cells that meet a single condition.
Syntax: =COUNTIF(range, criteria)
Example: =COUNTIF(A1:A10, ">10") counts cells greater than 10.
o SUMIF: Sums the cells that meet a single condition.
Syntax: =SUMIF(range, criteria, [sum_range])
Example: =SUMIF(A1:A10, ">10", B1:B10) sums values in B1
where corresponding A1
values are greater than 10.
o AVERAGEIF: Averages the cells that meet a single condition.
Syntax: =AVERAGEIF(range, criteria, [average_range])
Example: =AVERAGEIF(A1:A10, ">10", B1:B10) averages values in B1
where corresponding A1
values are greater than 10.
o COUNTIFS: Counts cells that meet multiple criteria.
Syntax: =COUNTIFS(range1, criteria1, range2, criteria2, ...)
Example: =COUNTIFS(A1:A10, ">10", B1:B10, "<5") counts cells
where A1
is greater than 10 and B1
is less than 5.
o SUMIFS: Sums cells that meet multiple criteria.
Syntax: =SUMIFS(sum_range, range1, criteria1, range2, criteria2, ...)
Example: =SUMIFS(C1:C10, A1:A10, ">10", B1:B10, "<5") sums C1
where A1
is greater than 10 and B1
is less than 5.
o AVERAGEIFS: Averages cells that meet multiple criteria.
Syntax: =AVERAGEIFS(average_range, range1, criteria1, range2,
criteria2, ...)
Example: =AVERAGEIFS(C1:C10, A1:A10, ">10", B1:B10, "<5")
averages C1
where A1
is greater than 10 and B1
is less than 5.
 Other Useful Functions:
o IFERROR: Returns a value if there is an error and another value if
there is no error.
Syntax: =IFERROR(value, value_if_error)
Example: =IFERROR(A1/B1, "Error") returns "Error" if dividing A1 by
B1 results in an error.
o SUMPRODUCT: Multiplies corresponding components in arrays and
returns the sum of those products.
Syntax: =SUMPRODUCT(array1, array2, ...)
Example: =SUMPRODUCT(A1:A10, B1:B10) multiplies each cell in A1
by the corresponding cell in B1
and sums the results.
2. Lookup and Reference Functions
 VLOOKUP: Searches for a value in the first column of a table and returns a
value in the same row from another column.
Syntax: =VLOOKUP(lookup_value, table_array, col_index_num,
[range_lookup])
Example: =VLOOKUP(A1, B1:D10, 2, FALSE) looks up the value in A1 within
the range B1
and returns the value from the second column of the range.
 HLOOKUP: Searches for a value in the first row of a table and returns a value
in the same column from another row.
Syntax: =HLOOKUP(lookup_value, table_array, row_index_num,
[range_lookup])
Example: =HLOOKUP(A1, B1:D10, 3, FALSE) looks up the value in A1 within
the first row of B1
and returns the value from the third row of the range.
 INDEX and MATCH: Used together to perform more flexible lookups than
VLOOKUP and HLOOKUP.
o INDEX: Returns the value of a cell at the intersection of a row and
column in a given range.
Syntax: =INDEX(array, row_num, [column_num])
Example: =INDEX(B1:D10, 2, 3) returns the value in the second row
and third column of the range B1
.
o MATCH: Searches for a value in a range and returns the relative
position of that item.
Syntax: =MATCH(lookup_value, lookup_array, [match_type])
Example: =MATCH(A1, B1:B10, 0) finds the position of A1 within B1
.
o Combined INDEX-MATCH: =INDEX(return_range,
MATCH(lookup_value, lookup_range, 0))
Example: =INDEX(C1:C10, MATCH(A1, B1:B10, 0)) returns the value
from C1
where the corresponding value in B1
matches A1.
 CHOOSE: Returns a value from a list based on an index number.
Syntax: =CHOOSE(index_num, value1, [value2], ...)
Example: =CHOOSE(2, "Apple", "Banana", "Cherry") returns "Banana".
3. Basic Financial Functions (continued)
 Future Value (FV):
o Purpose: Calculates the future value of an investment based on
constant periodic payments and a constant interest rate.
o Syntax: =FV(rate, nper, pmt, [pv], [type])

o Parameters:

 rate - The interest rate per period.


 nper - The number of periods.
 pmt - The payment made each period.
 pv - The present value or initial investment (optional).
 type - When payments are due: 0 for end of period, 1 for
beginning (optional).
o Example: =FV(0.05, 10, -1000, 0, 1) calculates the future value of
making $1000 payments annually at 5% interest for 10 years, with
payments at the beginning of each period.
 FVSCHEDULE:
o Purpose: Calculates the future value of an initial principal after
applying a series of interest rates.
o Syntax: =FVSCHEDULE(principal, schedule)

o Parameters:

 principal - The initial amount of money.


 schedule - An array or range of interest rates.
o Example: =FVSCHEDULE(1000, A1:A5) calculates the future value of
$1000 with the interest rates specified in cells A1 to A5.
 Present Value (PV):
o Purpose: Calculates the present value of an investment based on
constant periodic payments and a constant interest rate.
o Syntax: =PV(rate, nper, pmt, [fv], [type])

o Parameters:

 rate - The interest rate per period.


 nper - The number of periods.
 pmt - The payment made each period.
 fv - The future value or a cash balance you want to attain after
the last payment is made (optional).
 type - When payments are due: 0 for end of period, 1 for
beginning (optional).
o Example: =PV(0.05, 10, -1000, 0, 1) calculates the present value of
making $1000 payments annually at 5% interest for 10 years, with
payments at the beginning of each period.
 Net Present Value (NPV):
o Purpose: Calculates the net present value of an investment based on
a series of cash flows and a discount rate.
o Syntax: =NPV(rate, value1, [value2], ...)

o Parameters:

 rate - The discount rate.


 value1, value2, ... - The cash flows for each period.
o Example: =NPV(0.08, -10000, 3000, 4000, 5000, 6000) calculates the
NPV of an investment with an initial outflow of $10,000 and
subsequent inflows of $3,000, $4,000, $5,000, and $6,000 at an 8%
discount rate.
 XNPV:
o Purpose: Calculates the net present value of an investment with non-
periodic cash flows.
o Syntax: =XNPV(rate, values, dates)

o Parameters:

 rate - The discount rate.


 values - The cash flows.
 dates - The dates corresponding to each cash flow.
o Example: =XNPV(0.08, B2:B6, C2:C6) calculates the NPV for cash
flows in B2
with dates in C2
at an 8% discount rate.
 PMT:
o Purpose: Calculates the payment for a loan based on constant
payments and a constant interest rate.
o Syntax: =PMT(rate, nper, pv, [fv], [type])

o Parameters:

 rate - The interest rate per period.


 nper - The number of periods.
 pv - The present value or principal.
 fv - The future value (optional).
 type - When payments are due: 0 for end of period, 1 for
beginning (optional).
o Example: =PMT(0.05/12, 60, -20000) calculates the monthly payment
for a $20,000 loan over 60 months at 5% annual interest.
 PPMT:
o Purpose: Calculates the principal payment for a given period of a
loan.
o Syntax: =PPMT(rate, per, nper, pv, [fv], [type])

o Parameters:

 rate - The interest rate per period.


 per - The period for which to calculate the principal payment.
 nper - The total number of periods.
 pv - The present value or principal.
 fv - The future value (optional).
 type - When payments are due: 0 for end of period, 1 for
beginning (optional).
o Example: =PPMT(0.05/12, 1, 60, -20000) calculates the principal
portion of the first payment on a $20,000 loan over 60 months at 5%
annual interest.
 IPMT:
o Purpose: Calculates the interest payment for a given period of a loan.

o Syntax: =IPMT(rate, per, nper, pv, [fv], [type])

o Parameters:

 rate - The interest rate per period.


 per - The period for which to calculate the interest payment.
 nper - The total number of periods.
 pv - The present value or principal.
 fv - The future value (optional).
 type - When payments are due: 0 for end of period, 1 for
beginning (optional).
o Example: =IPMT(0.05/12, 1, 60, -20000) calculates the interest
portion of the first payment on a $20,000 loan over 60 months at 5%
annual interest.
 NPER:
o Purpose: Calculates the number of periods for an investment or loan.

o Syntax: =NPER(rate, pmt, pv, [fv], [type])


o Parameters:

 rate - The interest rate per period.


 pmt - The payment made each period.
 pv - The present value or principal.
 fv - The future value (optional).
 type - When payments are due: 0 for end of period, 1 for
beginning (optional).
o Example: =NPER(0.05/12, -400, 20000) calculates the number of
months required to pay off a $20,000 loan with monthly payments of
$400 at 5% annual interest.
 RATE:
o Purpose: Calculates the interest rate per period of an investment or
loan.
o Syntax: =RATE(nper, pmt, pv, [fv], [type], [guess])

o Parameters:

 nper - The total number of periods.


 pmt - The payment made each period.
 pv - The present value or principal.
 fv - The future value (optional).
 type - When payments are due: 0 for end of period, 1 for
beginning (optional).
 guess - Your guess for the rate (optional).
o Example: =RATE(60, -400, 20000) calculates the monthly interest rate
for a $20,000 loan with monthly payments of $400 over 60 months.
4. Conditional Formatting
Conditional Formatting is used to apply formatting to cells based on their
values or the values of other cells, making data interpretation easier.
 Formatting Cells Based on Values:
o Steps:

 Select the cells you want to format.


 Go to Home > Conditional Formatting > New Rule.
 Choose Format cells that contain.
 Specify the criteria (e.g., greater than, less than) and set the
format (e.g., fill color).
 Formatting Only Cells That Contain:
o Steps:

 Go to Home > Conditional Formatting > New Rule.


 Select Use a formula to determine which cells to format.
 Enter a formula to define the condition and specify the format.
 Data Bars, Colour Scales, Icon Sets:
o Data Bars: Adds horizontal bars to cells based on their values.

 Go to Home > Conditional Formatting > Data Bars.


 Choose a gradient or solid fill color.
o Colour Scales: Applies color gradients to cells based on their values.

 Go to Home > Conditional Formatting > Color Scales.


 Select a color scale (e.g., a gradient from green to red).
o Icon Sets: Adds icons to cells based on their values.

 Go to Home > Conditional Formatting > Icon Sets.


 Choose an icon set (e.g., arrows, stars) to display in the cells.
 Stop-If-True Formatting:
o Purpose: Prevents subsequent conditional formatting rules from being
applied if the rule is true.
o Steps:

 After creating a conditional formatting rule, go to Manage Rules.


 Check the Stop If True box for the rule you want to stop further
formatting.
5. Advanced Data Analysis and Visualization
This unit covers techniques for analyzing and visualizing data effectively
using Excel.
 Elementary Statistics:
o Enabling Data Analysis Toolpak:

 Go to File > Options > Add-Ins.


 In the Manage box, select Excel Add-ins and click Go.
 Check Analysis ToolPak and click OK.
o Mean, Median, Mode, Multiple Mode:

 Mean: =AVERAGE(range)
 Median: =MEDIAN(range)
 Mode: =MODE.SNGL(range) for a single mode, or
=MODE.MULT(range) for multiple modes.
o Standard Deviation:

 Syntax: =STDEV.P(range) for population standard deviation or


=STDEV.S(range) for sample standard deviation.
o Calculating Frequency and Using Frequency Function:

 Syntax: =FREQUENCY(data_array, bins_array)


 Select the range where you want the frequency distribution to
appear, enter the function, and press Ctrl+Shift+Enter.
 Charts:
o Different Elements of a Chart:

 Includes titles, axes, legend, data labels, etc. You can add and
modify these elements via Chart Tools.
o Editing Charts:

 Modify elements by selecting the chart and using the Chart Tools
tabs (Design, Format).
o Column & Bar Charts:

 Clustered: Shows data in vertical bars grouped by series.


 Stacked: Displays stacked columns for multiple series.
 100% Stacked: Shows the percentage of each series'
contribution to the total.
o Line and Area Charts:

 Line Chart: Displays trends over time with lines connecting


data points.
 Area Chart: Similar to line charts but with the area below the
line filled.
o Combo Chart:

 Combines two or more chart types (e.g., column and line) in one
chart.
o Pie and Doughnut Charts:

 Pie Chart: Shows proportions of a whole in slices.


 Doughnut Chart: Similar to a pie chart but with a hole in the
middle.
o Handle Missing Data in Charts:

 Use the Select Data option to adjust data ranges or handle


missing values.
o Dynamic Chart:

 Create dynamic charts by using named ranges or dynamic


arrays.
o Horizontal Scroll Bar, Check Box:

 Add from the Developer tab to create interactive charts.


o Scatter Chart:

 Purpose: Displays data points as individual dots.


 Add Trend-line and Forecast: Right-click on a data series and
select Add Trendline to analyze trends.
 Creating Pivot Tables and Pivot Charts:
o Pivot Table:

 Go to Insert > PivotTable.


 Select data range and choose where to place the pivot table.
 Drag fields to Rows, Columns, Values, and Filters areas.
o Pivot Chart:

 Go to Insert > PivotChart to visualize the data from a pivot table.


o Handling Missing Values:

 Use Replace Values in the Data tab or adjust the data source.
o Dynamic Pivot Table:

 Use filters, slicers, and calculated fields to make pivot tables


interactive.
o Calculated Field, List Formula:

 Add fields in the PivotTable Fields pane by selecting Add >


Calculated Field.
o Subtotal, Grand Total, Report Layout:
 Use Design tab options in the PivotTable to adjust layout and
totals.
 Creating Dashboard Using Pivot Table:
o Adding Slicers and Timeline:

 Go to Insert > Slicer or Timeline to add interactive filters to your


dashboard.
o Report Connections:

 Use PivotTable Connections to connect multiple pivot tables to a


single slicer or timeline.
6. Advanced Analysis Using Solver
 What-If Analysis:
o Data Table:

 Go to Data > What-If Analysis > Data Table.


 Create a data table to show different scenarios of changing one
or two variables.
o Goal Seek:

 Go to Data > What-If Analysis > Goal Seek.


 Set a goal for a specific cell and adjust the input cell to achieve
that goal.
o Scenario Manager:

 Go to Data > What-If Analysis > Scenario Manager.


 Define different scenarios and switch between them to compare
results.
o Sensitivity Analysis Using Spinner:

 Use form controls like Spinner (found under Developer tab) to


adjust values and observe changes in real-time.
 Introduction to Solver Modelling:
o Purpose: Solver helps in optimization problems where you can set
constraints and objectives to find the best possible solution.
o Setting Up Solver:

 Go to Data > Solver.


 Define the objective cell (the cell you want to maximize,
minimize, or set to a specific value).
 Set constraints (conditions that must be met).
 Choose a solving method (Simplex LP, GRG Nonlinear,
Evolutionary).
o Example: Optimizing a budget by setting constraints on expenses and
maximizing the total value or profit.

UNIT IV: Advanced Data Analysis and Visualization


This unit covers advanced techniques in Excel for analyzing and visualizing
data, including the use of statistical functions, charting, and creating dashboards.
Mastery of these topics will enhance your ability to extract insights and present data
effectively.
1. Elementary Statistics
 Data Analysis Tool Pack:
o Enabling the Tool Pack:

 Go to File > Options > Add-Ins.


 Select Excel Add-ins from the Manage box and click Go.
 Check Analysis ToolPak and click OK.
 Statistical Functions:
o Mean: =AVERAGE(range)

 Example: =AVERAGE(A1:A10) calculates the average of values


in A1
.
o Median: =MEDIAN(range)

 Example: =MEDIAN(A1:A10) finds the median value in A1


.
o Mode: =MODE.SNGL(range) for a single mode; =MODE.MULT(range)
for multiple modes.
 Example: =MODE.SNGL(A1:A10) finds the most frequent value
in A1
.
o Standard Deviation: =STDEV.P(range) for population;
=STDEV.S(range) for sample.
 Example: =STDEV.P(A1:A10) calculates the standard deviation
of values in A1
.
 Frequency Function:
o Calculating Frequency:

 Syntax: =FREQUENCY(data_array, bins_array)


 Example: =FREQUENCY(A1:A10, B1:B5) counts the number of
values in A1
that fall within each bin in B1
.
 Note: This function must be entered as an array formula using
Ctrl+Shift+Enter.
 Histogram:
o Creating a Histogram:

 Steps:
 Select data and go to Insert > Charts > Histogram.
 Adjust bin width and categories using Chart Tools >
Format.
2. Charts
 Different Elements of a Chart:
o Elements: Title, Axis Labels, Legend, Data Series, Gridlines, Data
Labels.
 Editing: Click on chart elements to edit text, format, or adjust
position.
 Types of Charts:
o Column Chart: Displays data using vertical bars.

 Clustered Column: Compares values across categories.


 Stacked Column: Shows part-to-whole relationships.
 100% Stacked Column: Shows the percentage contribution of
each value.
o Bar Chart: Displays data using horizontal bars.

 Clustered Bar: Compares values across categories.


 Stacked Bar: Shows part-to-whole relationships.
 100% Stacked Bar: Shows the percentage contribution of each
value.
o Line Chart: Shows trends over time or categories.
 Adding Trend-lines: Click on data series > Chart Tools > Add
Chart Element > Trendline.
o Area Chart: Shows cumulative totals over time.

 Types: Stacked Area, 100% Stacked Area.


o Combo Chart: Combines different chart types in one chart.

 Example: Combine column and line charts to show sales and


trend.
o Pie Chart: Shows proportions of a whole.

 Doughnut Chart: Similar to Pie but with a hole in the middle.


 Handling Missing Data: Use NA() to handle missing values in
Pie charts.
o Scatter Chart: Displays relationships between two variables.

 Adding Trend-lines and Forecast: Click on data series >


Chart Tools > Add Chart Element > Trendline.
o Sparklines: Mini-charts within cells.

 Creating: Go to Insert > Sparklines > Choose Line, Column, or


Win/Loss.
 Customizing Charts:
o Change Default Chart: Set a default chart type via Insert > Chart >
Set as Default Chart.
o Dynamic Chart: Use named ranges or tables for data to automatically
update charts.
o Horizontal Scroll Bar and Check Box: Insert from Developer tab >
Insert > Scroll Bar or Check Box for interactive charts.
3. Pivot Tables and Pivot Charts
 Creating Pivot Tables:
o Steps:

 Select data range and go to Insert > PivotTable.


 Choose where to place the PivotTable (new or existing
worksheet).
 Drag and drop fields to Rows, Columns, Values, and Filters.
 Handling Missing Values in Pivot Tables:
o Options: Use Show Null Values in the PivotTable Field List or adjust
source data.
 Sorting and Filtering:
o Sorting: Right-click on PivotTable values or headers > Sort.

o Filtering: Use filters in PivotTable Fields or add Slicers for interactive


filtering.
 Change Data Source:
o Steps: Go to PivotTable Tools > Analyze > Change Data Source and
update the range.
 Dynamic Pivot Tables:
o Using Tables: Convert data to an Excel Table before creating a
PivotTable to ensure dynamic updates.
 Calculated Fields:
o Adding: Go to PivotTable Tools > Analyze > Fields, Items & Sets >
Calculated Field.
 List Formula:
o Creating: Use formulas within PivotTables to compute additional data.

 Subtotal and Grand Total:


o Enabling: Go to PivotTable Tools > Design > Subtotals and Grand
Totals.
 Report Layout:
o Changing: Go to PivotTable Tools > Design > Report Layout to choose
between Compact, Outline, or Tabular form.
4. Creating Dashboards
 Using Pivot Tables for Dashboards:
o Creating: Combine multiple PivotTables and charts on a single sheet
to create a dashboard.
 Adding Slicers and Timelines:
o Slicers: Go to PivotTable Tools > Analyze > Insert Slicer to add
interactive filters.
o Timelines: Go to PivotTable Tools > Analyze > Insert Timeline to filter
data by dates.
 Report Connections:
o Purpose: Link multiple PivotTables or PivotCharts to the same data
source for cohesive reporting.
o Steps: Go to PivotTable Tools > Analyze > Options > Report
Connections.
Summary
By mastering these advanced Excel functions and techniques, you'll be able
to perform in-depth data analysis, create effective visualizations, and develop
insightful dashboards. These skills will be essential for any data-driven decision-
making process and are highly valuable in business environments.

UNIT V: Advanced Analysis Using Solver


This unit focuses on advanced analytical techniques in Excel, particularly
using the Solver add-in for optimization problems. Solver is a powerful tool for
performing what-if analysis and solving complex decision problems involving
multiple variables.
1. What-If Analysis
What-If Analysis helps you explore different scenarios and their outcomes
based on varying input values. Excel offers several tools for this purpose:
 Data Table:
o Purpose: Allows you to observe how changes in one or two input
variables affect the outcome of a formula.
o Creating a Data Table:

 Single Variable Data Table:


 Set up a table where one column contains the input
values and another cell contains the formula to be
analyzed.
 Select the range including the formula and the input
values.
 Go to Data > What-If Analysis > Data Table.
 For a single-variable table, input the cell reference of the
variable in the Column Input Cell box.
 Two-Variable Data Table:
 Set up a table where one axis (row or column) contains
one set of input values, and the other axis contains
another set of input values.
 Place the formula at the intersection of these values.
 Select the entire table range.
 Go to Data > What-If Analysis > Data Table.
 Specify the Row Input Cell and Column Input Cell.
 Goal Seek:
o Purpose: Finds the input value needed to achieve a specific goal or
target in a formula.
o Steps:

 Go to Data > What-If Analysis > Goal Seek.


 Set the Set cell to the cell containing the formula you want to
achieve a specific value.
 Enter the To value (the target value).
 Enter the By changing cell (the input cell to adjust).
 Click OK to run Goal Seek.
 Scenario Manager:
o Purpose: Creates and compares different scenarios to see how
changes in variables affect outcomes.
o Creating Scenarios:

 Go to Data > What-If Analysis > Scenario Manager.


 Click Add to create a new scenario.
 Name the scenario and select the cells to be changed.
 Enter the values for each scenario and click OK.
 Repeat for additional scenarios.
 Use Show to view and compare scenarios.
 Sensitivity Analysis Using Spinner:
o Purpose: Provides a visual way to see how changes in a single
variable impact a result.
o Using Spinner:

 Go to Developer > Insert > Spin Button.


 Place the spinner on the worksheet and link it to a cell.
 Set the properties (e.g., minimum, maximum, increment) for the
spinner.
 Use the linked cell in a formula to dynamically update results as
you adjust the spinner.
2. Introduction to Solver Modelling
Solver is an Excel add-in used for optimization problems where you need to
find the best outcome based on constraints.
 Getting Started with Solver:
o Enabling Solver:

 Go to File > Options > Add-Ins.


 In the Manage box, select Excel Add-ins and click Go.
 Check Solver Add-in and click OK.
 Solver Modelling:
o Purpose: Solves optimization problems such as maximizing profit,
minimizing costs, or finding the optimal allocation of resources.
o Setting Up a Solver Model:

 Define the Objective:


 Set the cell that represents the objective (e.g., total profit
or cost) and specify whether to maximize, minimize, or
set it to a specific value.
 Define the Decision Variables:
 Identify the cells that Solver will adjust to achieve the
objective.
 Add Constraints:
 Add constraints to restrict the values of decision variables
(e.g., resource limits, budget constraints).
 Solving the Model:
 Go to Data > Solver.
 Set the Set Objective cell.
 Choose Max, Min, or Value Of for the objective.
 Add constraints by clicking Add and defining the
constraints.
 Choose a solving method (e.g., Simplex LP for linear
problems, GRG Nonlinear for nonlinear problems).
 Click Solve to find the optimal solution.
 Review Solver's solution and make adjustments if
necessary.
Summary
In this unit, you’ve learned to perform advanced data analysis using Excel’s
built-in tools for what-if analysis, such as Data Tables, Goal Seek, Scenario Manager,
and Sensitivity Analysis with Spinner. Additionally, you’ve been introduced to Solver
for optimization problems, enabling you to model and solve complex decision-
making scenarios. Mastery of these tools will enhance your ability to analyze,
predict, and optimize business processes effectively.

You might also like