Using the IF Function in Excel 2007

by rhyttinen on September 3, 2008

Using the IF function, you can tell Excel to evaluate a condition and perform one of two calculations based on that condition.  The two calculations are based on whether the condition is true or false.  For example, if the sales of a store was greater than 5000, you could give the manager a $2,000 bonus (condition is true); if the sales were less than $5000, the manger would get a $500 bonus (condition is false).

 

You can either type the IF function directly into the cell or click the Insert Function button and use the Insert Function dialog box.

Using the example above, the format of the IF function is:

 

 if function Using the IF Function in Excel 2007

 

 

To Use the IF Function

  1. Activate the cell in which you want to place the formula.
  2. Type:  =IF(
  3. Enter the condition for which to test, followed by a comma.
  4. Enter the value if the condition is true followed by a comma.
  5. Enter the value if the condition is false.
  6. Type ) close the formula.
  7. Press the Enter key to verify the formula.

 

Similar Posts:

Share and Enjoy:
  • del.icio.us
  • Digg
  • TwitThis
  • Reddit
  • Technorati
  • Facebook
  • StumbleUpon
  • Google Bookmarks
  • Propeller
  • E-mail this story to a friend!

Comments on this entry are closed.

Previous post: Modifying Workbook Elements in Excel 2007

Next post: Formatting a Table in Excel 2007