Module III Microsoft Excel
Module III Microsoft Excel
Study Material
(Computer Applications in Law, BBALLBS301)
_____________________________________________________________________________________________
Microsoft Excel is a powerful spreadsheet software used for data analysis, calculations, and organizing
information. A worksheet is a grid of rows and columns where you can enter, manipulate, and calculate data.
Concept of Worksheets:
1. Creating a New Worksheet:
● Open Microsoft Excel.
● Click on the "Blank Workbook" template to create a new worksheet.
2. Worksheet Components:
● Rows are identified by numbers (1, 2, 3, ...).
● Columns are identified by letters (A, B, C, ...).
● Cells are formed at the intersections of rows and columns (A1, B2, etc.).
Soumya Roy
Assistant Professor and Computational Science
Brainware University, Kolkata 1
BBA LLB, 3rd Semester
Computer Applications in Law (BBALLBS301)
BBA LLB 3A
2022-23
Features of Excel:
1. Formulas and Functions:
● Formulas perform calculations using cell references.
● Functions are predefined formulas for specific calculations (e.g., SUM, AVERAGE).
2. Charts and Graphs:
● Visual representations of data for better understanding.
● Create charts like bar graphs, pie charts, and line graphs.
3. Sorting and Filtering:
● Reorder data based on values or conditions.
● Filter data to display specific records.
Types of Cell Referencing:
1. Relative Referencing:
● The default referencing type.
● Adjusts when copied to different cells.
2. Absolute Referencing:
● Uses a dollar sign ($) to fix a cell reference.
● Doesn't change when copied to other cells.
3. Mixed Referencing:
● Combines relative and absolute references.
● E.g., $A1 (fixed column, relative row), B$1 (relative column, fixed row).
Soumya Roy
Assistant Professor and Computational Science
Brainware University, Kolkata 2
BBA LLB, 3rd Semester
Computer Applications in Law (BBALLBS301)
BBA LLB 3A
2022-23
Soumya Roy
Assistant Professor and Computational Science
Brainware University, Kolkata 3
BBA LLB, 3rd Semester
Computer Applications in Law (BBALLBS301)
BBA LLB 3A
2022-23
Simple Formula:
● Formulas perform calculations in Excel.
Soumya Roy
Assistant Professor and Computational Science
Brainware University, Kolkata 4
BBA LLB, 3rd Semester
Computer Applications in Law (BBALLBS301)
BBA LLB 3A
2022-23
● Start a formula with an equals sign (=) followed by mathematical operators and cell references.
2. Auto Fill:
● Drag the fill handle (small square at the bottom-right corner of a cell) to fill a series or pattern.
3. Transpose:
● Copy a range of cells, right-click where you want to paste, and choose "Transpose" under the
"Paste Special" options.
2. Closing Workbook:
● Click the "X" button in the top-right corner or press "Ctrl+W."
Data Formatting:
Soumya Roy
Assistant Professor and Computational Science
Brainware University, Kolkata 6
BBA LLB, 3rd Semester
Computer Applications in Law (BBALLBS301)
BBA LLB 3A
2022-23
● Select cells, go to the "Home" tab, and use formatting options like font, size, color, borders, etc.
Using Functions:
1. SUM Function:
● To add a range of numbers, type "=SUM(A1:A5)" to sum values from A1 to A5.
2. AVERAGE Function:
● To calculate the average of a range, type "=AVERAGE(A1:A5)".
3. MAX and MIN Functions:
● Use "=MAX(A1:A5)" to find the highest value in the range, and "=MIN(A1:A5)" for the lowest.
4. COUNT Function:
● Type "=COUNT(A1:A5)" to count the number of cells with values in the range.
5. IF Function:
● Use "=IF(A1>10, "High", "Low")" to display "High" if A1 is greater than 10, otherwise "Low."
6. VLOOKUP Function:
● Type "=VLOOKUP(A1, B1:D10, 2, FALSE)" to search for the value in A1 in column B and return the
corresponding value from column C.
7. HLOOKUP Function:
● Similar to VLOOKUP but searches in rows.
3. TEXT Function:
● Format a date with "=TEXT(A1, "dd-mm-yyyy")" to display it as "31-12-2023".
4. DATE and TIME Functions:
● Use "=DATE(2023, 12, 31)" to get the date December 31, 2023.
● "=NOW()" returns the current date and time.
Array Formulas:
1. Array Constants:
● An array constant is a list of values enclosed in curly braces: "{10, 20, 30}".
2. Array Formulas:
● An array formula performs operations on multiple values at once.
● Press Ctrl+Shift+Enter after typing an array formula.
3. SUMPRODUCT Function:
● Use "=SUMPRODUCT(A1:A5, B1:B5)" to multiply corresponding values in two ranges and sum the
results.
Statistical Functions:
1. AVERAGE Function:
● Use "=AVERAGE(A1:A5)" to calculate the average of the values in cells A1 to A5.
2. STDEV.P Function:
● Type "=STDEV.P(A1:A5)" to calculate the standard deviation of a population.
Text Functions:
1. CONCATENATE Function:
● Use "=CONCATENATE("Hello, ", A1)" to combine "Hello, " with the content of cell A1.
2. LEFT Function:
● Use "=LEFT(A1, 3)" to extract the leftmost 3 characters from cell A1.
Soumya Roy
Assistant Professor and Computational Science
Brainware University, Kolkata 8
BBA LLB, 3rd Semester
Computer Applications in Law (BBALLBS301)
BBA LLB 3A
2022-23
1. TODAY Function:
● Type "=TODAY()" to display the current date.
2. DATE Function:
● Use "=DATE(2023, 8, 21)" to create a date with the year, month, and day.
3. YEAR Function:
● Type "=YEAR(A1)" to extract the year from date in cell A1.
4. MONTH Function:
● Use "=MONTH(A1)" to extract the month from date in cell A1.
5. DAY Function:
● Type "=DAY(A1)" to extract the day from date in cell A1.
6. HOUR, MINUTE, SECOND Functions:
● Use these functions to extract components of a time value.
Conditional Formatting:
1. Highlight Cells Rules:
● Select a range, go to the "Home" tab, click "Conditional Formatting," and choose a rule.
2. Color Scales:
● Apply color gradients to cells based on their values.
Soumya Roy
Assistant Professor and Computational Science
Brainware University, Kolkata 9
BBA LLB, 3rd Semester
Computer Applications in Law (BBALLBS301)
BBA LLB 3A
2022-23
Number Formatting:
1. Decimal Places:
● Select a cell, go to the "Home" tab, and use the "Increase Decimal" and "Decrease Decimal"
buttons to adjust decimal places.
2. Scientific Notation:
● Change a cell's format to "Scientific" to display large numbers in scientific notation.
●Use "=INDEX(B1:B10, MATCH("Value", A1:A10, 0))" to find a value in column A and return the
corresponding value from column B.
4. IF Function:
● Use "=IF(A1>10, "High", "Low")" to display "High" if A1 is greater than 10, otherwise "Low."
5. SUMIF and SUMIFS Functions:
● Use "=SUMIF(A1:A10, ">5")" to sum values in A1:A10 that are greater than 5.
● Use "=SUMIFS(C1:C10, A1:A10, ">5")" to sum values in C1:C10 where corresponding cells in
A1:A10 are greater than 5.
Array Formulas:
1. Array Constants:
● An array constant is a list of values enclosed in curly braces: "{10, 20, 30}".
2. Array Formulas:
● An array formula performs operations on multiple values at once.
● Press Ctrl+Shift+Enter after typing an array formula.
3. SUMPRODUCT Function:
● Use "=SUMPRODUCT(A1:A5, B1:B5)" to multiply corresponding values in two ranges and sum the
results.
Goal Seek:
Soumya Roy
Assistant Professor and Computational Science
Brainware University, Kolkata 11
BBA LLB, 3rd Semester
Computer Applications in Law (BBALLBS301)
BBA LLB 3A
2022-23
Scenario Manager:
1. Scenario Manager:
● Go to the "Data" tab, click "What-If Analysis," and choose "Scenario Manager."
● Use this to create different scenarios for calculations based on changing variables.
Solver Add-In:
1. Solver Add-In:
● Go to "File" > "Options" > "Add-Ins."
Soumya Roy
Assistant Professor and Computational Science
Brainware University, Kolkata 12
BBA LLB, 3rd Semester
Computer Applications in Law (BBALLBS301)
BBA LLB 3A
2022-23
● To insert a manual page break, select the row below where you want the page to break.
● Go to the "Page Layout" tab and click "Breaks," then choose "Insert Page Break."
5. Page Layout:
● Adjust margins in the "Page Layout" tab.
● Click "Page Setup" for headers, footers, orientation, and page breaks.
8. File-Level Security:
● Go to the "File" tab and choose "Protect Workbook" to set a password.
9. Protecting Data within the Worksheet:
● Select cells or ranges you want to protect.
● Go to the "Review" tab, choose "Protect Sheet," and set a password.
Understanding Error Messages in Formulas:
● Excel provides error messages to help identify and correct formula errors.
● Common errors include #DIV/0!, #VALUE!, #NAME?, #REF!, #NUM!, and #N/A.
Formula Using Watch Window:
● Use the "Watch Window" to monitor specific cells and their formula results.
Soumya Roy
Assistant Professor and Computational Science
Brainware University, Kolkata 15
BBA LLB, 3rd Semester
Computer Applications in Law (BBALLBS301)
BBA LLB 3A
2022-23
Soumya Roy
Assistant Professor and Computational Science
Brainware University, Kolkata 16
BBA LLB, 3rd Semester
Computer Applications in Law (BBALLBS301)
BBA LLB 3A
2022-23
Soumya Roy
Assistant Professor and Computational Science
Brainware University, Kolkata 17