61bdbf675e77f - Spreadsheet By-Shyam Gopal Timsina
61bdbf675e77f - Spreadsheet By-Shyam Gopal Timsina
A spreadsheet is a software application that enables a user to save, sort and manage data in an
arranged form of rows and columns.
Microsoft Excel and Lotus 1-2-3 are among the most popular spreadsheet applications.
Components of a Spreadsheet
The three types of data you can enter into a cell are data, labels and formulas.
Worksheet
A worksheet or sheet is a single page in a file created with an electronic spreadsheet program
such as Microsoft Excel or Google Sheets. A workbook is the name given to an Excel file and
contains one or more worksheets. When you open an electronic spreadsheet program, it loads an
empty workbook file consisting of one or more blank worksheets for you to use.
Workspace
The term workspace refers to all the open workbooks and their exact screen position and window
sizes.
A workspace contains pointers to your other Excel files that you had open during your session.
When you open an Excel workspace all the other files are opened as well
Workspaces are particularly useful if you frequently work
There are two basic ways to perform calculations in Excel: Formulas and Functions.
1. Formulas
In Excel, a formula is an expression that operates on values in a range of cells or a cell. For
example, =A1+A2+A3, which finds the sum of the range of values from cell A1 to cell A3.
2. Functions
Functions are predefined formulas in Excel. They eliminate laborious manual entry of formulas
while giving them human-friendly names. For example: =SUM(A1:A3). The function sums all
the values from A1 to A3.
1. SUM
The SUM function is the first must-know formula in Excel. It usually aggregates values from a
selection of columns or rows from your selected range.
=SUM(number1, [number2], …)
2. AVERAGE
The AVERAGE function should remind you of simple averages of data such as the average
number of shareholders in a given shareholding pool.
=AVERAGE(number1, [number2], …)
3. COUNT
The COUNT function counts all cells in a given range that contain only numeric values.
=COUNT(value1, [value2], …)
Example:
COUNT(A:A) – Counts all values that are numerical in A column. However, you must adjust the
range inside the formula to count rows.
4. COUNTA
Like the COUNT function, COUNTA counts all cells in a given rage. However, it counts all
cells regardless of type. That is, unlike COUNT that only counts numerics, it also counts dates,
times, strings, logical values, errors, empty string, or text.
=COUNTA(value1, [value2], …)
5. IF
The IF function is often used when you want to sort your data according to a given logic. The
best part of the IF formula is that you can embed formulas and function in it.
6. TRIM
The TRIM function makes sure your functions do not return errors due to unruly spaces. It
ensures that all empty spaces are eliminated. Unlike other functions that can operate on a range
of cells, TRIM only operates on a single cell. Therefore, it comes with the downside of adding
duplicated data in your spreadsheet.
=TRIM(text)
Example:
TRIM(A2) – Removes empty spaces in the value in cell A2
=MIN(number1, [number2], …)
Example:
=MIN(B2:C11) – Finds the minimum number between column B from B2 and column C from
C2 to row 11 in both columns B and C.
=MAX(number1, [number2], …)
Microsoft Excel Window Components
Before you start using it, it’s really important to understand that what’s where in its window. So
ahead we have all the major component which you need to know before entering the world of
Microsoft Excel.
Columns: A column is a vertical set of cells. A single worksheet contains 16384 total columns.
Every column has its own alphabet for identity, from A to XFD. You can select a column
clicking on its header.
Rows: A row is a horizontal set of cells. A single worksheet contains 1048576 total rows. Every
row has its own number for identity, starting from 1 to 1048576. You can select a row clicking
on the row number marked on the left side of the window.
Fill Handle: It’s a small dot present on the lower right corner of the active cell. It helps you to
fill numeric values, text series, insert ranges, insert serial numbers, etc.
Address Bar: It shows the address of the active cell. If you have selected more than one cell,
then it will show the address of the first cell in the range.
Formula Bar: The formula bar is an input bar, below the ribbon. It shows the content of the
active cell and you can also use it to enter a formula in a cell.
Title Bar: The title bar will show the name of your workbook, followed by the application name
(“Microsoft Excel”).
File Menu: The file menu is a simple menu like all other applications. It contains options like
(Save, Save As, Open, New, Print, Excel Options, Share, etc).
Quick Access Toolbar: A toolbar to quickly access the options which you frequently use. You
can add your favorite options by adding new options to quick access toolbar.
Ribbon Tab: Starting from the Microsoft Excel 2007, all the options menus are replaced with
the ribbons. Ribbon tabs are the bunch of specific option group which further contains the
option.
Worksheet Tab: This tab shows all the worksheets which are present in the workbook. By
default you will see, three worksheets in your new workbook with the name of Sheet1, Sheet2,
Sheet3 respectively.
Status Bar: It is a thin bar at the bottom of the Excel window. It will give you an instant help
once you start working in Excel.
Cell reference
Cell reference is the like referring to other cells to a cell to use its values or its properties.
Types of Cell Reference in Excel
1. Relative cell references: It does not contain dollar signs in a row or column, e.g.,
A2. Relative cell reference type in excel changes when a formula is copied or dragged to
another cell; in Excel, cell referencing is relative by default; it is the most commonly used
cell reference in the formula.
2. Absolute cell references: Absolute Cell Reference contains dollar signs attached to each
letter or number in a reference, e.g., $B$4, Here if we mention a dollar sign before the
column and row identifiers, it makes absolute or locks both the column and the row, i.e.,
where Cell reference remains constant even if it copied or dragged to another cell.
3. Mixed cell references in Excel: It contains dollar signs attached to either the letter or the
number in a reference. E.g., $B2 or B$4. It is a combination of relative and absolute
references.
Sorting Data
After data has been entered into an Excel worksheet, and even after it has been organized
into a table, it can still be manipulated and reorganized. One of the easiest options is to
sort the data in a particular order. For example, you can sort the data alphabetically.
Filtering Data
After entering data in Excel, it is also possible to filter, or hide some parts of the data,
based on user-indicated categories. When using the Filter option, no data is lost; it is just
hidden from view.
values
Entering data into a spreadsheet is just like typing in a word processing program, but you
have to first click the cell in which you want the data to be placed before typing the data.
The numbers, which can later be used in formulas, are called values.
Labels
All words describing the values (numbers) are called labels. Notice also that the labels
(composed of letters) are all left justified and the values (composed of numbers) are all
right justified in their cells.
Types of charts
he following table shows some of the most commonly used charts and when you should
consider using them.
1. Pie Chart: When you want to quantify items and show them as percentages.
2. Bar Chart : When you want to compare values across a few categories. The values
run horizontally
3. Column chart: When you want to compare values across a few categories. The
values run vertically
4. Line chart : When you want to visualize trends over a period of time i.e. months,
days, years, etc.
5. Combo Chart: When you want to highlight different types of information
1. #VALUE!
Excel displays the #VALUE! error when it finds spaces, characters, or text in a formula where it
is expecting a number.
Excel requires formulas to contain numbers only and won't respond to formulas associated with
numbers, so it will show you an error is if you've included anything else.
2. #NAME?
This is a slightly more complex Excel error. Here's a summary of why this might appear in a cell
you're working in:
The #NAME? error message appears if Excel can't understand the name of the formula you're
trying to run, or if Excel can't compute one or more values entered in the formula itself. To
resolve this error, check the formula's spelling, or use the Formula Builder to have Excel build
the function for you.
No, Excel isn't looking for your name in this case. The error, #NAME?, appears in a cell when
Excel can't read certain elements of a formula you're trying to run.
You might also have spelled the formula correctly, but don't have enough information entered in
the formula's individual entries. Check out how this error might look below -- as you can see, the
table array entry is incomplete. It needs an actual spreadsheet name to know where to look up
our desired value.
3. #####
When you see ##### displayed in your cell, it can look a little scary. The good news is that this
simply means the column isn't wide enough to display the value you've inputted. And that's any
easy fix.
3. #DIV/0!
When you see #DIV/0!, you are asking Excel to divide a formula by zero or an empty cell. In the
same way that this task wouldn't work if you were doing division by hand, or on a calculator, it
won't work in Excel either.
4. #REF!
This one can sometimes be a little tricky to figure out, but Excel usually displays #REF! when a
formula references a cell that is not valid. Here's a summary of where this error typically comes
from:
The #REF! error in Excel appears if you're running a formula that is referring to a cell that
doesn't exist. If you delete a cell, column, or row in your spreadsheet, and build a formula
including a cell name that has been deleted, Excel will return the #REF! error in the cell holding
the formula.
5. #NULL!
#NULL! errors occur when you specify an intersection of two areas that don't actually intersect,
or when an incorrect range operator is used.
↓6. #N/A
When you see #N/A, this typically means that the numbers you are referring to in your formula
cannot be found.
You may have accidentally deleted a number or row that's being used in your formula, or are
referring to a sheet that was deleted or not saved.
7. #NUM!
If your formula contains numeric values that aren't valid, you'll see an #NUM! error appear in
Excel. Often times this happens when you enter a numeric value that's different than the other
arguments used in your formula.
For example, when you're entering an Excel formula, make sure you don't include values like
$1,000 in currency format. Instead, enter 1000 and then format the cell with currency and
commas after the formula is calculated.
Pivot Tables
Pivot Tables allow us to create a powerful view with data summarized in a grid, both in
horizontal and vertical columns (also known as Matrix Views or Cross Tabs). Multi-level pivots
can be created by specifying multiple Fields to the column, row and data axis.
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 a two-dimensional pivot table.
A number format is a special code to control how a value is displayed in Excel.For example, the
table below shows 7 different number formats applied to the same date, January 1, 2019:
1-Jan-2019 yy 19
Some characters appear normally in a number format, while others require special handling. The
following characters can be be used without any special handling:
Character Comment
$ Dollar
+- Plus, minus
() Parentheses
{} Curly braces
= Equal
: Colon
^ Caret
' Apostrophe
/ Forward slash
! Exclamation point
& Ampersand
~ Tilde
Space character
Escaping characters
Some characters won't work correctly in a custom number format without being escaped. For
example, the asterisk (*), hash (#), and percent (%) characters can't be used directly in a custom
number format – they won't appear in the result. The escape character in custom number formats
is the backslash (\). By placing the backslash before the character, you can use them in custom
number formats:
Placeholders
Certain characters have special meaning in custom number format codes. The following
characters are key building blocks:
Character Purpose
. Decimal point
, Thousands separator
* Repeat digit
_ Add space
By default, everything on screen is displayed at 100% in MS Excel. You can change the zoom
percentage from 10% (tiny) to 400% (huge). Zooming doesn’t change the font size, so it has no
effect on the printed output.