shiningarticles.com shiningarticles.com shiningarticles.com
Home Page About Us Privacy Terms of Use Place Your Link Submit Article
Search:   
Add Url
 

Policies & Law

Art & Culture

Education & Learning

Health & Therapy

Internet & Computers

Malls & Shopping

Employment & Careers

People & Society

Music & Entertainment

Indoor Games

Automotive

Events & News

Investment & Finance

Children & Teens

Hotels & Travel

Home Family & Garden

Medical Care

Research & Science

Self Management

Property & Estate

Business & Companies

Sports

Fashion & Lifestyle

Eating & Drinking

 

Home Page › Internet & Computers › Computer Software
 

Mastering the IF Function in Microsoft Excel

 

The IF function in Microsoft Excel seems to really cause many people a lot of heartache and grief, but all in all it is actually really not that difficult of a tool to use. The essential role of the IF function is to test whether a condition is either True or False and if the condition is True it will return one value and if it is False it will return an alternate value.

Let us look at an example -

Let us say you have two values. In one cell you have a value of 65 and in the other cell you have a value of 23. What the IF function allows us to do is to do a test and lets say we want to see if the value of 65 is greater than 23. When the numbers are plugged into the If statement, the result will be that 65 is greater than 23 and it will return something from the True return area.

So how do we create an if statement

The secret to the IF function is really in its syntax. The syntax for the IF function is as follows -

IF(Logical Test, True Result, False Result)

What we can do is to now create the example we did earlier so begin by simply opening a Microsoft Excel Work sheet. In cell address A1 enter the text IF Test Condition. In cell A2 enter the text - Numeric Value 1, in A3 enter the text - Numeric Value 2, and in cell A5 enter the text Which Value is Larger?

Now we need to put a few numbers to test into our Excel Spreadsheet, so in cell address B2 enter the value of 65 and in cell address B3 enter the value of 23. In cell B5 we need to create our formula. If we use the example above we want to find out if the value in B2 is greater than the value in B3. If the condition is true we want to return the text - Numeric Value 1 and if the condition is false we want to return the text - Numeric Value 2.

The structure of the IF Function to do the test will look like this -

= IF(B2>B3, "Numeric Value 1","Numeric Value 2")

What you will notice in the function above is that the text values are encapsulated in double quotes. Whenever working with text in Formulas the text must always have double quotes around it. If you type in the formula above into cell address B5 you should see the resulting text - Numeric Value 1. If you change the value in B2 now to 12, the automatic result in B5 should be - Numeric Value 2.

The IF function is a really diverse tool and it allows you to test an unlimited number of conditions to get the required outcome, you can even nest IF functions within IF functions but the bottom line is this, for every IF function the syntax should always look the same as above.

Author: Chris Le Roy
 
Author Bio:
Chris Le Roy is a reputed author. Chris likes to write articles about this subject.
This article can be searched using: free software, free software downloads, cheap computer software, discount software
 
 
 

Related Articles

 
Choose the right cell phone service provider for your mobile phone
 
The Federal Trade Commission Overview for Fiscal Year 2007
 
The Skinny on eGroups
 
Is FLASH Appropriate in a Business Web Site?
 
How to Skyrocket Your Paid Search Profits
 
How to Find Totally Free Spyware Removal Programs and Avoid the Shams
 
Self Publishers: High Earners Make A Significant Part of Their Income From Affiliate Programs
 
Is Your Paid Search Advertising Generating Positive Financial Results?
 
Deja Vu - A Dot Com Era Business Emerges Again
 
E-currency Exchange Program: Investing Reviewed
 
 
 
Home Page -> Privacy -> Terms of Use
Copyright © 2008 www.shiningarticles.com All Rights Reserved.