OEP MS Excel
OEP MS Excel
Excel features are Calculation, Create different table & charts, Password Protection, Data
Filtering, Data Sorting, Built-in formulae, Automatically edits the result and a macro
programming language called Visual Basic for Applications (VBA).
Click on Start
Then select All Programs
Next step is to click on MS Office
Then finally, choose the MS-Excel option
Click the File tab. Click New. Under Available Templates, double-click Blank Workbook.
Keyboard shortcut To quickly create a new, blank workbook, you can also press CTRL+N.
1
I BSc OEP] OFFICE AUTOMATION
Note: Microsoft Excel has the following column and row limits: 16,384 columns wide by
1,048,576 rows tall.
Cell : A cell is the intersection of a row and a column. Columns are identified by letters (A, B,
C), while rows are identified by numbers (1, 2, 3). A cell. Each cell has its own name—or cell
address—based on its column and row.
Cell Address : Each cell address contains "one or more letters" followed by a number. The
letter or letters identify the column and the number represents the row. e.g. A10 refers to first
column, 10th row.
1. Select any cell within the column, then go to Home > Insert > Insert Sheet Columns or
Delete Sheet Columns.
2
I BSc OEP] OFFICE AUTOMATION
2. Alternatively, right-click the top of the column, and then select Insert or Delete.
1. Select any cell within the row, then go to Home > Insert > Insert Sheet Rows or Delete
Sheet Rows.
2. Alternatively, right-click the row number, and then select Insert or Delete.
Formatting Cell :
Excel has a large number of additional formatting options, and while there are useful shortcuts
on the “Home” tab on the toolbar, the most comprehensive list of options can be found by right-
clicking on your selected cell or cells and selecting “Format Cells…” from the drop-down menu
(see screen capture, below).
This will give you a dialog box with the following tabs: “Number”, “Alignment”, “Font”, “Border”,
“Fill”, and “Protection”. Here’s a quick overview of each:
Number. This provides a list of formats for how numbers will display in the cells selected.
These are probably the most useful to know:
1. Number: if you are working with non-whole numbers (e.g. grade averages,
percentages), you can select this option and limit the number of decimal places to
something consistent.
2. Currency: if you are working with money, you can select this and pick the currency
value and number of decimal places to display.
3. Date: select this to pick how you want dates displayed. Any date entered will
automatically be revised to conform to that format.
4. Text: select this if you are entering numbers that you want to display exactly as entered.
Excel will sometimes alter large numbers to scientific notation or remove leading zeros.
If you have a number that is meant to identify something (e.g. an ID number, or an
invoice number), this will prevent Excel from displaying the number any way other than
how you entered it.
Alignment. This gives you given a number of options for aligning text within each cell selected,
and controlling how it fits within each cell.
3
I BSc OEP] OFFICE AUTOMATION
Font. This tab gives you options for altering the appearance and size of text with-in each cell
selected.
Border. This determines how the borders between the individual cells appear. You are given
options for the style of the border line, its color, and which border is to be altered. Generally,
you want to use this for multiple cells as a way of distinguishing columns or rows.
Protection. This only matters if you are protecting the sheet. Locked cells cannot be edited in
protected worksheets.
Formulas :
For example, cell A3 below contains a formula which adds the value of cell A2 to the value of
cell A1.
For example, cell A3 below contains the SUM function which calculates the sum of the range
A1:A2.
4
I BSc OEP] OFFICE AUTOMATION
Enter a Formula
1. Select a cell.
2. To let Excel know that you want to enter a formula, type an equal sign (=).
Tip: instead of typing A1 and A2, simply select cell A1 and cell A2.
Excel automatically recalculates the value of cell A3. This is one of Excel's most powerful
features!
Edit a Formula
When you select a cell, Excel shows the value or formula of the cell in the formula bar.
1. To edit a formula, click in the formula bar and change the formula.
5
I BSc OEP] OFFICE AUTOMATION
2. Press Enter.
Operator Precedence
Excel uses a default order in which calculations occur. If a part of the formula is in parentheses,
that part will be calculated first. It then performs multiplication or division calculations. Once this
is complete, Excel will add and subtract the remainder of your formula. See the example below.
First, Excel performs multiplication (A1 * A2). Next, Excel adds the value of cell A3 to this result.
Another example,
6
I BSc OEP] OFFICE AUTOMATION
First, Excel calculates the part in parentheses (A2+A3). Next, it multiplies this result by the value
of cell A1.
Functions :
Mathematical Functions :
1. Sum() : The SUM function adds values. You can add individual values, cell references
or ranges or a mix of all three.
2. Autosum : The symbol Σ (sigma) is generally used to denote a sum of multiple terms. It
is built-in function in Excel by which we can find out of the numbers in selected range of
cells.
3. Average() : This function calculates average of the values in given range.
6. Count() : Counts the number of cells that contains numbers in the specified range.
Date Functions :
1. Date (year,month,day) : Returns the serial number corresponding to the given date.
2. Now() : Returns the current date and time.
3. Ctrl + : [colon] – It returns current time in the cell.
4. Ctrl + ; [semi colon] – It returns current date in the cell.
Text Functions :
1. Left() : To extract the leftmost characters from a string, use the LEFT function. Eg.:
left(“varadaraja”,3)
2. Right() : To extract the rightmost characters from a string, use the RIGHT function. Eg.:
upper(“varadaraja”) Eg.: right(“varadaraja”,3)
3. Mid() : To extract a substring, starting in the middle of a string, use the MID function.
Eg.: mid(“varadaraja”,3,3)
7
I BSc OEP] OFFICE AUTOMATION
4. Len() : To get the length of a string, use the LEN function. Eg.:
len(“varadaraja”)
5. Proper() : To get a string to proper case, which means that all the strings will be
displayed with each of the word first letter being capital.
Logical Functions:
The IF function is one of the most popular functions in Excel, and it allows you to make
logical comparisons between a value and what you expect. So an IF statement can have two
results. The first result is if your comparison is True, the second if your comparison n is False.
Eg.: IF(b2>=35,”Pass”,”Fail”)
Operators :
8
I BSc OEP] OFFICE AUTOMATION
CHART
A chart is a graphical representation for data visualization, in which "the data is represented by
symbols, such as bars in a bar chart, lines in a line chart, or slices in a pie chart". ... A data
chart is a type of diagram or graph, that organizes and represents a set of numerical or
qualitative data.
Create a chart
1. Select the cell where you want to put the combined data.
2. Type = and select the first cell you want to combine.
3. Type & and use quotation marks with a space enclosed.
4. Select the next cell you want to combine and press enter. An example formula might be
=A2&" "&B2.
*****
9
I BSc OEP] OFFICE AUTOMATION
10