Excel
Excel
Spreadsheet Concepts:
● Every time you start a new project in Excel, you’ll need to create a new
workbook.
● A workbook is a file that contains one or more worksheets.
● A worksheet is a grid of cells where data can be entered, calculated, and
analysed.
● Cells are the individual rectangular boxes in a worksheet where data is
entered.
● Rows are horizontal groups of cells, and columns are vertical groups of
cells.
Creating a Workbook:
● To create a new workbook, open your spreadsheet software and navigate
to the "File" menu. From there, select "New" or "Create" to start a new
workbook. You can also use shortcut keys like Ctrl + N.
Saving a Workbook:
Editing a Workbook.
Rename a Worksheet
By default, Excel worksheets are given generic names, such as Sheet 1, Sheet 2, etc.
You can give them more meaningful names.
1. Click the Format button on the Home tab.
2. Select Rename Sheet.
Double-click the tab for the worksheet you want to rename.
3. Type a new name for the worksheet.
Cut
● Deleting unnecessary data from the cell is called cutting.
● In Microsoft Excel, you can cut text from one area of a worksheet and save or
paste that text anywhere. When you cut the text, it is stored on clipboard.
● If you want to cut any text or content from worksheet, first select the text or
content which you want to cut.
● To cut, Right Click → Cut.
● The shortcut key is "Ctrl + X".
Copy
● Instead of retyping the same text, copy function is used which reduces
time and effort.
● By using copy option, you can copy the text from one location to another.
● To copy the content, Right Click → Copy. ● Shortcut key is "Ctrl + C".
Paste
● Select your text to highlight it.
● First copy the text.
● Use mouse to move the cursor to desired position to paste the copied text.
● Click paste to insert the copied text in its new place.
● You can paste clipboard information as often as you like.
● To paste, Right Click & Paste.
● Shortcut key is "Ctrl + V".
Handling Operators in Formula.
● Operators are the symbols that tell the computer to perform certain
arithmetical and logical manipulations.
Types of Operators in Excel
There are 4 crude types of operators in Excel, mentioned below:
1. Arithmetic Operators
2. Logical/Comparison Operators
3. Text Concatenation Operator
4. Reference Operators
Arithmetic Operators
As the word suggests, Arithmetic Operators are used for arithmetic operations like addition,
subtraction, multiplication, division, etc. As can be guessed, this set of operators can be used for
numeric calculations.
Operator Excel Formula Description
Logical/Comparison Operators
Logical or Comparison Operators are used in Excel to compare the two values (numeric or text) logically. These
operators compare two values (provided through cells or separately) and return a logical output, i.e., TRUE or
FALSE. See the below table, which explains logical
Operator Description Excel
Formula
Text
= (Equals To) It compares two values and returns TRUE if both values are equal; else =A1 = B1
returns FALSE.
<> (Not Equals To) It compares two values and returns TRUE if both values are not equal or =A1 <>
return FALSE. B1
> (Greater Than) It returns TRUE if the value in cell A1 (First Value) is greater than in cell B1 =A1 > B1
(Second Value). Else returns FALSE.
< (Less Than) It returns TRUE if the value in cell A1 (First Value) is lesser than in cell B1 =A1 < B1
(Second Value); else returns FALSE.
>= (Greater than or It returns TRUE if the value in cell A1 (First Value) is greater than or equal =A1 >=
equals to) to the value in cell B1 (Second Value); else returns FALSE. B1
<= (Less than or It returns TRUE if the value in cell A1 (First Value) is less than or equal to =A1 <=
equals to) that in cell B1 (Second Value); else returns FALSE. B1
Concatenation Operator
Excel has one operator, which helps to join in two or more text strings and produces a single text
line. We can use the ampersand (&) operator to join two or more strings and get a single text line.
Range Operator:
Let’s take an example. Suppose below is the data you have:
In cell C2, we can see the range operator. It takes a range of all cells starting from A2
to B6 under the SUM function and returns the sum of all 10 values. See the output
below.
Union Operator:
Cell D2 of the Excel spreadsheet shows the functioning of the union operator. It takes
two ranges as a reference, from column A (A2: A6) and the other as (A2: B3) under
the SUM function. Finally, it produces the sum of these two references and gives a
value of 56.
Mathematical Functions:
❖ Arithmetic Operations:
o +: Addition (e.g., =A2+B2) o -:
Subtraction (e.g., =C2-D2) o *:
Multiplication (e.g., =E2*F2) o /:
Division (e.g., =G2/H2) o ^:
Exponentiation (e.g., =I2^2
❖ Logical Functions:
o IF Function:
o Evaluates a condition and returns one value if the condition is true, and another
value if the condition is false (e.g., =IF(A2>10,"Greater than 10","Less than or equal
to 10"))
o AND Function:
o Returns TRUE if all arguments are TRUE, otherwise returns FALSE (e.g.,
=AND(A2>10, B2<20))
o OR Function:
o Returns TRUE if at least one argument is TRUE, otherwise returns FALSE (e.g.,
=OR(A2>10, B2<20))
o NOT Function:
Functions:
o Average Function: o Calculates the average of a range of cells (e.g.,
=AVERAGE(A2:A10))
o Count Function:
=MAX(A2:A10))
=MIN(A2:A10))
=MEDIAN(A2:A10))
o Mode Function:
o Calculates the mode (most frequently occurring value) in a range of cells (e.g.,
=MODE(A2:A10))
❖ Text Functions:
● Concatenate Function:
o Joins text strings together (e.g., =CONCATENATE("Hello", " ", "World")) ● LEN
Function: o Returns the length of a text string (e.g., =LEN("Hello")) ● LEFT Function:
oReturns a specified number of characters from the beginning of a text string (e.g.,
=LEFT("Hello", 2)) ● RIGHT Function:
oReturns a specified number of characters from the end of a text string (e.g.,
=RIGHT("Hello", 2)) ● MID Function:
o Returns a specified number of characters from a text string, starting at a specified
position (e.g., =MID("Hello", 2, 3)) ● UPPER Function: o Converts all characters in a text
string to uppercase (e.g., =UPPER("hello")) ● LOWER Function:
o Converts all characters in a text string to lowercase (e.g., =LOWER("HELLO"))
2. YEAR Function:
● Syntax: YEAR(serial_number)
● Purpose: Extracts the year from a date represented by a serial number. ●
Example: =YEAR(A1)
3. TIME Function:
● Syntax: TIME(hour, minute, second)
● Purpose: Creates a serial number representing a specific time.
● Example: =TIME(10, 30, 0) returns the serial number for 10:30 AM.
4. HOUR Function:
● Syntax: HOUR(serial_number)
● Purpose: Extracts the hour from a time represented by a serial number.
● Example: =HOUR(TIME(10, 30, 0)) returns 10.
5. MINUTE Function:
● Syntax: MINUTE(serial_number)
● Purpose: Extracts the minute from a time represented by a serial number.
● Example: =MINUTE(TIME(10, 30, 0)) returns 30.
6. SECOND Function:
● Syntax: SECOND(serial_number)
● Purpose: Extracts the second from a time represented by a serial number.
● Example: =SECOND(TIME(10, 30, 0)) returns 0.
7.Combining Functions:
You can combine these functions to perform various date and time calculations.
For example:
● To get the current date and time: =NOW()
Financial
Financial Functions in Excel
Excel offers a wide range of financial functions to help you perform various calculations
related to investments, loans, and financial analysis. Here are some of the most commonly
used ones:
Investment Functions:
● FV (Future Value): Calculates the future value of an investment based on a constant
interest rate.
● PV (Present Value): Calculates the present value of a future sum of money, discounted
at a specific interest rate.
● PMT (Payment): Calculates the periodic payment required to pay off a loan or annuity.
● RATE (Interest Rate): Calculates the interest rate per period of an annuity or loan.
● NPV (Net Present Value): Calculates the present value of a series of cash flows.
4. Input Cells: You can input or select the cells or ranges needed for the
function directly within the wizard interface.
5. Error Checking: Some versions of the wizard may help identify errors with
your formula entry and provide tips for correction.
When creating a workbook in the workplace, you'll want to select a font that is easy
to read. Along with Calibri, standard reading fonts include Cambria, Times New
Roman, and Arial.
2. Click the drop-down arrow next to the Font Size command on the
Home tab. The Font Size drop-down menu will appear.
You can also use the Increase Font Size and Decrease Font Size
To change the font color:
1. Select the cell(s) you want to modify.
2. Click the drop-down arrow next to the Font Color command on the
Home tab. The Color menu will appear.
3. Select the desired font color. In our example, we'll choose Green.
4. The text will change to the selected font color.
Select More Colors at the bottom of the menu to access additional color options.
2. Click the Bold (B), Italic (I), or Underline (U) command on the Home
tab. In our example, we'll make the selected cells bold.
Text alignment
By default, any text entered into your worksheet will be aligned to the bottom-left of a
cell, while any numbers will be aligned to the bottom-right.
Changing the alignment of your cell content allows you to choose how the content is
displayed in any cell, which can make your cell content easier to read.
Click the arrows in the slideshow below to learn more about the different text alignment
options.
Middle Align: Aligns content an equal distance from the top and bottom
borders of the cell
Bottom Align: Aligns content to the bottom border of the cell
To change horizontal text alignment:
In our example below, we'll modify the alignment of our title cell to create a more
polished look and further distinguish it from the rest of the worksheet.
To add a border:
1. Select the cell(s) you want to modify.
2. Click the drop-down arrow next to the Fill Color command on the
Home tab. The Fill Color menu will appear.
3. Select the fill color you want to use. A live preview of the new fill color
will appear as you hover the mouse over different options. In our
example, we'll choose Light Green.
4. The selected fill color will appear in the selected cells.
CHANGING DATE
. Currency format
1. Select the cells you want to format
2. Go to the Home tab
3. Click the Dialog Box Launcher next to Number
4. In the Category list, click Currency or Accounting
5. In the Symbol box, click the currency symbol you want
Number
There are several ways to work with numbers in Excel, including
formatting numbers, adding numbers, and automatically numbering
rows:
1. Format numbers
PRINTING WORKSHEET
1. First, we need to open a specific Excel file.
2. Enter data into each cell.
3. and select the worksheet from the Sheet tab.
4. Next, we need to go to the File tab and click the Print option from
the list.
5. After clicking the Print option, we can choose desired printing
preferences (such as the number of copies, printer, orientation, etc.)
and finalize the printing process by clicking the Print It looks like
this:
We can use the Quick Print option if we don't want to change default
printer settings but print a copy instantly. There are two following ways to
use this option:
o We can use the keyboard shortcut Ctrl + P and press the Enter key.
We don't need to use a mouse this way.
Create a chart
• In Excel, you can create charts or graphs to represent almost any
kind of quantitative data.
• Excel offers many options for charts or graphs, including bar,
line, and pie charts.
• They are used to visualize data in worksheet:
1. Select data for the chart.
2. Select Insert > Recommended Charts.
3. Select a chart on the Recommended Charts tab, to preview the
chart.
4. Select a chart.
5. Select OK.
creating previewing and modifying
conditional
charts,
Formatting, and Filters.
1.Create a chart
2.Preview charts
To preview charts, you can use the Quick Analysis button, which
appears in the lower
-right corner of the selection after you select the
data.You can move your mouse over the options in the Formatting
tab to see a live preview.
3. Modify charts
To modify a chart, you can use the Chart Tools Design ribbon to
change the chart type, data, or location. You can also use the
Chart Tools Format ribbon to select an element on the chart and
choose the Format Selection icon. To change the shape, style,
and color, you can use the Formatting Task pane.
Use conditional formatting
1. Select the data you want to format 2. Click the Home tab
3. Click Conditional Formatting
4. Choose a formatting option:
Highlight Cells Rules: or Top/Bottom Rules to highlight
specific cells
Filters
Filters in Excel help you focus on the data you want to see by
showing only the relevant information. To filter data in Excel, you
can:
1. Select a cell in the range or table you want to filter
2. Click the Data tab
3. Select Filter
4. Select the arrow in the column you want to filter
5. Under Filter, select Choose One and enter your filter criteria
6. Click OK
7. To change or clear the filter, select the Applied filter icon
Pivot Chart
Insert Pivot Chart | Filter Pivot Chart | Change Pivot Chart Type
A pivot chart is the visual representation of a pivot table in Excel. Pivot charts and pivot
tables are connected with each other.
Below you can find the pivot chart. This pivot chart will amaze and impress your boss.
Note: any changes you make to the pivot chart are immediately reflected in the pivot table and vice versa.
1. Use the standard filters (triangles next to Product and Country). For example, use the Country filter to only
show the total amount of each product exported to the United States.
2. Because we added the Category field to the Filters area, we can filter this pivot chart (and pivot table) by
Category. For example, use the Category filter to only show the vegetables exported to each country.
Result:
Note: pie charts always use one data series (in this case, Beans). To get a pivot
chart of a country, swap the data over the axis. First, select the chart. Next, on the
Design tab, in the Data group, click Switch Row/Column.