Home » Software

Excel Formulas – 7 Basic Elements Revealed

Submitted by admin on May 31, 2010 – 2:27 pmNo Comment

If you are relatively new to writing Excel formulas, pay attention to these concepts.

Ignoring them will lead you to unnecessary headaches…

1) Every Excel formula starts with the = sign

The = sign is automatically entered when you insert an Excel function.

A formula without the equal sign is considered a cell content.

Let’s see an example…

Given the fact that the cell A1 contains the number 10 and the cell A2 contains the number 20; the formula: =A1+A2 will retrieve 30, while the formula A1+A2 will be pure content. It will be shown as A1+A2 in the given cell.

At the same time, the function =SUM(A1:A15) will retrieve the results, while this one SUM(A1:A15) not.

The = sign must be entered by hand when you write the formula directly on a cell.

Important reminder: a formula entered on a cell that is formatted as text will not be evaluated even if it has the = sign.

2) An Excel formula may contain numbers (constants) or references to cells

The formula: =A1+20 contains a reference and a number.

A1 has the value of the content of the cell A1, while the number 20 is always 20.

The advantage of having references instead of constants is that you can change a whole spreadsheets by changing the input cells.

Otherwise, you should edit each instance of the formula in the sheet.

3) The Excel formula may contain plain Math, other functions or a combination of them

You can write a formula this way: =(A1+A2+A3+A4)/4+10 with plain Math or this way using a function and Math: =AVERAGE(A1:A4)+10.

4) Arguments are separated by commas and should be entered according to a specific order (syntax)

The arguments of a function are separated by commas.

The order in which they are entered are unambiguous and correspond to the given function syntax. For example: the formula =SUMIF(A1:A10,”>20″,B1:B10) corresponds to this syntax: =SUMIF( range, criteria, sum_range )

5) The result of an Excel formula is retrieved in the same cell on which was written

After you hit enter, the formula is calculated and the result is shown in the same cell.

Important reminder: Excel won’t calculate the formula result when it lacks inputs. On the other hand, you will get a result if all the arguments and logic are correctly entered.

6) You cannot see an Excel formula in a cell just its results.

You can see the contents in the formula bar, by pressing F2 or by showing formulas instead of results (CTRL + ` )

A formula shows by default its result in the cell where it is contained.

This may lead you to confusion with the inputs. An input and a formula result are not distinguishable at first sight.

7) Excel computes formulas in a well known order

If you combine several operators in a single formula, Excel performs the operations in the order shown in the following sequence.

  1. - Negation (as in -1)
  2. % Percent
  3. ^ Exponentiation
  4. * and / Multiplication and division
  5. + and – Addition and subtraction
  6. & Connects two strings of text (concatenation)
  7. = = Comparison

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.

To change the order of evaluation, enclose in parentheses the part of the formula to be calculated first.

The formula multiplies 2 by 3 and then adds 5 to the result.

=5+2*3=11

In contrast, if you use parentheses to change the syntax, Excel adds 5 and 2 together and then multiplies the result by 3 to produce 21.

=(5+2)*3=21

Conclusion

These Excel formula nuggets will help you to get started on the fascinating world of Excel spreadsheets.

For more professional Excel tips and advice, visit http://www.excel-spreadsheet-authors.com/

Learn more about: Excel Formulas

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.


Architecture »

Want Imperia 3 BHK apartments Dosti Group THANE MUMBAI

Affinity Solution Pvt. Ltd.
Presents
Dosti Imperia Thane Mumbai:
Dosti Group Imperia Thane ||91-9999684166|| Dosti Group Imperia Project Thane | Dosti Group Imperia Property Thane | Dosti Group Imperia Propeties Thane | Dosti Group Imperia Apartment Thane | …

Hi-Tech »

IT »

Benefits of Online Video on Demand Services for Individuals

Are you tired of waiting for your favorite programs or movies? On the other hand, do you have to wait restlessly in front of the idiot box and have to watch commercials in between your …

Medicine »

Bring your natural smile back by consulting Burbank cosmetic dentist

A beautiful and charming smile is all you need when you speak to somebody. Your smile can attract anyone and make an impressive impact to the listener. And a simple problem in your teeth and …

Press Releases »

Vashi Navi Mumbai New Booking Properties-09999684166 Sparsh Projects By Arihant Vashi Mumbai

Affinity Solution Pvt. Ltd.
Presents
Arihant Sparsh Vashi Navi Mumbai:
Arihant Sparsh | Arihant Sparsh Vashi | Arihant Sparsh Vashi Rates | Arihant Sparsh Vashi Navi Mumbai | Arihant Sparsh Vashi Location | Arihant Sparsh Project Vashi | …

Science »

Culinary Management Programs

There are many different culinary management programs throughout the country at various schools, but the most common type is the Bachelor of Culinary Management degree, which can be found at colleges, universities, technical institutions and …