Comp 2 - MIS (Midterm Topic)
Comp 2 - MIS (Midterm Topic)
- Accounting Number Format allows you to format cell values as Dollars, Euros or other
currency.
- Comma Style allows you to format cell values with a thousand separator.
- Increase Decimal shows more decimal places for a more precise value.
Formulas are entered in the worksheet cell and must begin with an equal sign "=". The
formula then includes the addresses of the cells whose values will be manipulated with
appropriate operands placed in between. After the formula is typed into the cell, the
calculation executes immediately and the formula itself is visible in the formula bar. See the
example below to view the formula for calculating the sub total for a number of textbooks.
The formula multiplies the quantity and price of each textbook and adds the subtotal for each
book.
A formula can also contain any or all of the following: functions, references, operators, and
constants.
Example:
Functions are predefined formulas that perform calculations by using specific values, called
arguments, in a particular order, or structure. Functions can be used to perform simple or
complex calculations. For example, the ROUND function rounds off a number in cell A10.
Structure of a function
1. Structure. The structure of a function begins with an equal sign (=), followed by the
function name, an opening parenthesis, the arguments for the function separated by
commas, and a closing parenthesis.
2. Function name. For a list of available functions, click a cell and press SHIFT+F3.
3. Arguments. Arguments can be numbers, text, logical values such as TRUE or FALSE,
arrays, error values such as #N/A, or cell references. The argument you designate must
produce a valid value for that argument. Arguments can also be constants, formulas, or
other functions.
4. Argument tooltip. A tooltip with the syntax and arguments appears as you type the
function. For example, type =ROUND( and the tooltip appears. Tooltips only appear for
built-in functions.
Types of operators
Arithmetic Meaning
operator (Example)
+ (plus sign) Addition (3+3)
– (minus sign) Subtraction (3–1)
Negation (–1)
* (asterisk) Multiplication (3*3)
/ (forward slash) Division (3/3)
% (percent sign) Percent (20%)
^ (caret) Exponentiation
(3^2)
Text concatenation operator Use the ampersand (&) to join, or concatenate, one or more
text strings to produce a single piece of text.
Reference operators Combine ranges of cells for calculations with the following operators.
Formulas calculate values in a specific order. A formula in Excel always begins with an equal
sign (=). The equal sign tells Excel that the succeeding characters constitute a formula.
Following the equal sign are the elements to be calculated (the operands), which are
separated by calculation operators. Excel calculates the formula from left to right, according
to a specific order for each operator in the formula.
If you combine several operators in a single formula, Excel performs the operations in the
order shown in the following table. If a formula contains operators with the same
precedence — for example, if a formula contains both a multiplication and division operator —
Excel evaluates the operators from left to right.
Operator Description
: (colon) Reference operators
(single space)
, (comma)
– Negation (as in –1)
% Percent
^ Exponentiation
* and / Multiplication and division
+ and – Addition and subtraction
& Connects two strings of text
(concatenation)
= < > <= >= Comparison
<>
Functions can be a more efficient way of performing mathematical operations than formulas.
For example, if you wanted to add the values of cells D1 through D10, you would type the
formula "=D1+D2+D3+D4+D5+D6+D7+D8+D9+D10". A shorter way would be to use the
SUM function and simply type "=SUM(D1:D10)". Several other functions and examples are
given in the table below:
Functio
Example Description
n
SUM =SUM(A1:100) finds the sum of cells A1 through A100
AVERAG =AVERAGE(B1:B1
finds the average of cells B1 through B10
E 0)
MAX =MAX(C1:C100) returns the highest number from cells C1 through C100
MIN =MIN(D1:D100) returns the lowest number from cells D1 through D100
SQRT =SQRT(D10) finds the square root of the value in cell D10
TODAY =TODAY() returns the current date (leave the parentheses empty)
counts the number of cells that contain numbers from
COUNT =COUNT(A1:C10)
cells A1 through C10
Logical1, logical2, ... are 1 to 30 conditions you want to test that can be either TRUE or FALSE.
Logical1,logical2,... are 1 to 30 conditions you want to test that can be either TRUE or FALSE.
EXAMPLES: