<

[Webinar] Streamline your web hosting managementRegister Today

x

How to use the IF function in Excel

Posted on
6,302 Points
303 Views
Last Modified:
Experience Level: Intermediate
8:44
Bob Flisser
Bob Flisser has authored many courses and books about Microsoft, Adobe and Apple products, and has been a computer trainer since the 1980s.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to use Excel's many other decision-making functions.

Video Steps

1. Enter the following values to create a tax table:



Enter into L2: NJ tax
Enter into M2: 7%

2. Create a new header for column H:


Enter into H5: Tax

3. Enter the IF function:


Enter into H6: =IF(C6="NJ", G6*$M$2,0)
IF function in H6

4. Enter the formula:


Press Enter. The value is 0 because this customer is from Michigan.

5. Use AutoFill to copy this formula down the page:


Click back on H6.

6. Position the mouse pointer on the dot in the lower right corner of the cell so the mouse pointer becomes a crosshair.


AutoFill dot on cell

7. Double-click..

8. Scroll down the page.

9. Double-click H6.


This way, you can edit the formula.

9. Rewrite the formula so that the value-if-false (zero) is just a set of empty quotation marks.


Rewritten function

10. Enter the rewritten formula, then AutoFill down as you did before.


0
Comment
Author:Bob Flisser
1 Comment
 
 

Administrative Comment

by:Kyle Santos
Congratulations.  Your video has been Accepted and is now published on Experts Exchange.  Feel free to share this video by selecting the social sharing icons to your left.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Join & Write a Comment

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month