Using Arithmetic, Comparison, Text and References in Excel
January 6, 2010 | No Comments | Microsoft Excel 2003
Using Arithmetic Formulas
Arithmetic formulas are by far the most common type of formula. They combine numbers, cell addresses, and function results with mathematical operators to perform calculations. Following Table summarizes the mathematical operators used in arithmetic formulas.
| Table :: | The ArithmeticOperators | ||
| Operator | Name | Example | Result |
| + | Addition | =10+5 | 15 |
| – | Subtraction | =10-5 | 5 |
| – | Negation | =-10 | –10 |
* Multiplication =10*5 50
/ Division =10/5 2
% Percentage =10% 0.1
^ Exponentiation =10^5 100000
Most of these operators are straightforward, but the exponentiation operator might require further explanation. The formula =x^y means that the value x is raised to the power y. For example, the formula =3^2 produces the result 9 (that is, 3*3=9). Similarly, the formula =2^4 produces 16 (that is, 2*2*2*2=16).
Using Comparison Formulas
A comparison formula is a statement that compares two or more numbers, text strings, cell contents, or function results. If the statement is true, the result of the formula is given the logical value TRUE (which is equivalent to any nonzero value). If the statement is false, the formula returns the logical value FALSE (which is equivalent to 0). Table 3.3 summarizes the operators you can use in comparison formulas.
| Table :: | Compariso Formula Operators | ||
| Operator | Name | Example | Result |
| = | Equal to | =10=5 | FALSE |
| > | Greater than | =10>5 | TRUE |
| < | Less than | =10<5 | FALSE |
| >= | Greater than or equal to | =“a”>=”b” | FALSE |
| <= | Less than or equal to | =”a”<=”b” | TRUE |
| <> | Not equal to | =”a”<>”b” | TRUE |
Comparison formulas have many uses. For example, you can determine whether to pay a salesperson a bonus by using a comparison formula to compare actual sales with a predetermined quota. If the sales are greater than the quota, the rep is awarded the bonus. You also can monitor credit collection. For example, if the amount a customer owes is more than 150 days past due, you might send the invoice to a collection agency.
Using Text Formulas
So far, I’ve discussed formulas that calculate or make comparisons and return values. A text formula is a formula that returns text. Text formulas use the ampersand (&) operator to work with text cells, text strings enclosed in quotation marks, and text function results. One way to use text formulas is to concatenate text strings. For example, if you enter the formula =“soft”&”ware” into a cell, Excel displays software. Note that the quotation marks and the ampersand are not shown in the result. You also can use & to combine cells that contain text. For example, if A1 contains the text Ben and A2 contains Jerry, entering the formula =A1&” and ” &A2 returns Ben and Jerry.
Using Reference Formulas
The reference operators combine two cell references or ranges to create a single joint reference.
Table 3.4 summarizes the operators you can use in reference formulas.
Table :: Reference Formula Operators
| : (colon) | Range | Produces a range from two cell references (for example, A1:C5) |
| (space) | Intersection | Produces a range that is the intersection of two ranges (for example, A1:C5 B2:E8) |
| , (comma) | Union | Produces a range that is the union of two ranges (for example, A1:C5,B2:E8) |
Popularity: 2% [?]

![[Ask]](http://www.officetutors.com/wp-content/plugins/bookmarkify/ask.png)
![[del.icio.us]](http://www.officetutors.com/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://www.officetutors.com/wp-content/plugins/bookmarkify/digg.png)
![[diigo]](http://www.officetutors.com/wp-content/plugins/bookmarkify/diigo.png)
![[dzone]](http://www.officetutors.com/wp-content/plugins/bookmarkify/dzone.png)
![[Facebook]](http://www.officetutors.com/wp-content/plugins/bookmarkify/facebook.png)
![[Furl]](http://www.officetutors.com/wp-content/plugins/bookmarkify/furl.png)
![[Kaboodle]](http://www.officetutors.com/wp-content/plugins/bookmarkify/kaboodle.png)
![[linkaGoGo]](http://www.officetutors.com/wp-content/plugins/bookmarkify/linkagogo.png)
![[LinkedIn]](http://www.officetutors.com/wp-content/plugins/bookmarkify/linkedin.png)
![[Mixx]](http://www.officetutors.com/wp-content/plugins/bookmarkify/mixx.png)
![[Reddit]](http://www.officetutors.com/wp-content/plugins/bookmarkify/reddit.png)
![[Spurl]](http://www.officetutors.com/wp-content/plugins/bookmarkify/spurl.png)
![[StumbleUpon]](http://www.officetutors.com/wp-content/plugins/bookmarkify/stumbleupon.png)
![[Technorati]](http://www.officetutors.com/wp-content/plugins/bookmarkify/technorati.png)
![[Twitter]](http://www.officetutors.com/wp-content/plugins/bookmarkify/twitter.png)
































