Session 1
Session 1
When you create a New Excel Workbook, and you save it as csv, then formulas are not retained.
Create a workbook
1. Open Excel.
Or press Ctrl+N.
Select a cell.
Enter data
1. Select an empty cell, such as A1, and then type text or a number.
2. Select the two cells containing the series, and then drag the fill handle across or down the
cells
• You can go to Data > Flash Fill to run it manually, or press Ctrl+E.
• Tools > Options > Advanced > Editing Options > check the Automatically Flash Fill box.
Write a formula (sum or difference or divide) that refers to values in other cells
1. Select a cell.
4. Enter an operator. For example, – for subtraction + for addition / for division.
5. Select the next cell, or type its address in the selected cell.
Press Enter. The result of the calculation appears in the cell with the formula.
How You Do this?
• Select cell A2 and type Jan (an abbreviation for January). At this point, you can enter the other
month name abbreviations manually, or you can let Excel do some of the work by taking
advantage of the AutoFill feature.
• Make sure that cell A2 is selected. Notice that the active cell is displayed with a heavy outline.
• At the bottom-right corner of the outline, you'll see a small square known as the fill handle.
Move your mouse pointer over the fill handle, click, and drag down until you've highlighted from
cell A2 down to cell A13.Release the mouse button, and Excel automatically fills in the month
names.
• Projected sale
• =B2*103.5
• What if we say increment is given in cell
• Cell C2
• Cell D3
formula
1. When a formula is entered into a cell, it also appears in the Formula bar.
2. To see a formula, select a cell, and it will appear in the formula bar.
2. Type an equal sign = and then type a function. For example, =SUM for getting the total sales.
• Select cell having formula and horizontal cells (or vertical) where you want to copy
formula
• Fill—> Right (or left, or up, or down)
It is important to understand referencing cells [when you write formula or copy it by dragging].
There are three types of referencing:
• Absolute. --The $ sign “anchors” a row number and column letter so when you copy
it or drag it—The anchored row and column do not change. Otherwise, it does change.
• =SUM(B3:B13). Point out that the cell references (B3:B13) will change if the formula
is copied or moved to another cell.
• Create an absolute reference in Excel by adding a dollar sign ($) before the column
letter and/or row number, such as =SUM($B$3:$B$13)
Paste in Excel
In Microsoft Excel, there are several paste options available when pasting data from the clipboard:
1. Paste - this option will paste the copied data into the selected cells in the same format as the
original data. Any existing data in the selected cells will be overwritten.
2. Paste Special - this option opens a dialog box that allows you to specify how you want the
pasted data to be formatted. The options available in the Paste Special dialog box include:
• Formats - pastes the formatting of the cells, without the values or formulas.
• Transpose - transposes the rows and columns of the copied data so that
columns become rows and rows become columns.
• Skip Blanks - pastes only the non-empty cells from the copied data.
• Paste Link - pastes a link to the copied data, so that changes made to the
original data are reflected in the pasted data.
3. Keep Source Formatting - this option pastes the copied data into the selected cells, keeping
the original formatting. Any existing data in the selected cells will be overwritten.
4. Merge Conditional Formatting - this option pastes the conditional formatting rules from the
copied data into the selected cells, merging the rules with any existing rules in the cells.
5. No Borders - this option pastes the copied data into the selected cells, without the borders
from the original data.
Operator precedence in Microsoft Excel determines the order in which operations are performed in
a formula. The following are some examples to illustrate operator precedence in Excel:
Example 1: = 3 + 4 * 5 The result of this formula would be 23, because the multiplication operator
(*) has a higher precedence than the addition operator (+). So, the expression 4 * 5 is evaluated first,
and then the result (20) is added to 3.
Example 2: = (3 + 4) * 5 The result of this formula would be 35, because the parentheses indicate that
the expression within the parentheses should be evaluated first. So, the expression 3 + 4 is evaluated
first, and then the result (7) is multiplied by 5.
Example 3: = 3 + 4 / 2 The result of this formula would be 5, because the division operator (/) has a
higher precedence than the addition operator (+). So, the expression 4 / 2 is evaluated first, and then
the result (2) is added to 3.
Example 4: = 3 ^ 2 * 4 The result of this formula would be 36, because the exponentiation operator
(^) has a higher precedence than the multiplication operator (*). So, the expression 3 ^ 2 is evaluated
first, and then the result (9) is multiplied by 4.
It's important to understand operator precedence when working with complex formulas in Excel, as
it can affect the outcome of the formula. You can use parentheses to specify the order of operations
if needed.