0% found this document useful (0 votes)
30 views17 pages

Session 1

The document provides information about creating and working with formulas in Excel. It discusses how to enter formulas that include cell references, functions, operators and copying formulas. It also covers data types, filling in series, conditional formatting, paste options and operator precedence.

Uploaded by

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

Session 1

The document provides information about creating and working with formulas in Excel. It discusses how to enter formulas that include cell references, functions, operators and copying formulas. It also covers data types, filling in series, conditional formatting, paste options and operator precedence.

Uploaded by

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

Class notes:

When you create a New Excel Workbook, and you save it as csv, then formulas are not retained.
Create a workbook

1. Open Excel.

2. Select Blank workbook.

Or press Ctrl+N.

Select a cell.

1. Type the equal sign =.

Note: Formulas in Excel always begin with the equal sign.

2. Select a cell or type its address in the selected cell.


=C1 Refers to Cell C1 The value in cell C1.
=A1:F4 Refers Cells A1 through F4 The values in all cells A1 to F4, 24 cells
=Sheet2!B2 Refers Cell B2 on Sheet2 The value in cell B2 on Sheet2.

Note- Sheet2 can be name given by you also

Example. Cereals, or Data


=A1:A4 Refers Cells A1 through A4 The values in all cells A1 to A4, 4 cells
Figure Adding new sheet in workbook, using + sign

Enter data

To manually enter data:

1. Select an empty cell, such as A1, and then type text or a number.

2. Press Enter or Tab to move to the next cell.


Data Type
We discussed general, numbers, text, and date data type in Excel.

see video for revision → https://www.youtube.com/watch?v=Cj-ICe_4Giw

Fill data in a series:


1. Enter the beginning of the series in two cells: such as Jan and Feb; or 2014 and 2015.

2. Select the two cells containing the series, and then drag the fill handle across or down the
cells

3. handle across or down the cells.


You can fill data by dragging horizontally and vertically both, some more examples
MAC users

Flash fill to replicate format


Using Flash Fill in Excel
• Flash Fill automatically fills your data when it senses a pattern. For example, you can use Flash
Fill to separate first and last names from a single column, or combine first and last names from
two different columns.

• You can go to Data > Flash Fill to run it manually, or press Ctrl+E.

• To turn Flash Fill on, go to

• 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.

2. Type the equal sign =.

Note: Formulas in Excel always begin with the equal sign.

3. Select a cell or type its address in the selected 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

• Assume that January's sales are

projected to be $50,000 and that

sales will increase by 3.5 percent

in each subsequent month

• =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.

Enter a formula that contains a built-in function

1. Select an empty cell.

2. Type an equal sign = and then type a function. For example, =SUM for getting the total sales.

3. Type an opening parenthesis (.

4. Select the range of cells, and then type a closing parenthesis).

5. Press Enter to get the result.


Copying formula using fill in selected columns (You can try in rows also)

• 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:

• Relative. – It changes as you drag

• 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.

• Mixed– You can anchor either row or column

If you are not clear see this video https://www.youtube.com/watch?v=LFIykJmL4M8


For example:

• =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:

• Values - pastes only the values of the cells, without formatting.

• Formulas - pastes the formulas in the cells, without formatting.

• 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.

You might also like