599CD.com New Access Seminar: Web Data   Collapse Menus
 
 
NEW Access Seminar - Use Access with the Web! dismiss
 
   
 

What's New?  |  Courses  |  Theater  |  Demo  |  Tips  |  Blog  |  Forums  |  Search  |  Help  |  Order

 
 
New Tips Added Weekly. Get Notified of New Tips & Tricks.
 
     
 
Tips & Tricks
   

  Access   Excel   Word   Windows   FrontPage   Hardware   Misc

 
 
Using the IF function to calculate sales tax
 
Q: I'm creating a spreadsheet in Microsoft Excel. I need to be able to have the sheet calculate sales tax for orders, but only if the customer is from NY state. Otherwise, I need the tax to calculate at zero. I know that it can be done, but I have no idea how to do it. Can you help? > Sy, Buffalo NY
 
A: In order to have Excel do this, you need to know how to use the IF function. Unlike other functions, the IF function takes three pieces of data. First, a conditional statement - something to test, like "is this customer from NY." Second, you need to specify the value to use if the condition is true, and finally the value to use if your condition is false. Let's assume your customer's state field is in cell B5. Your IF function would look something like this:

=IF(B5="NY", 0.08, 0)

This says, "if the customer is from NY, his sales tax rate is 8%, otherwise, it's 0%." If this seems a little confusing, don't worry. We cover this exact topic in our Microsoft Excel 201 course. We'll teach you all about the IF function and how it works.
 

 

 

 

Huge Discounts Available
When you purchase multiple classes together
Huge savings up to 50% off! Order Now.
 

You may want to read these articles from the 599CD Blog:

 

 

Need
Help?

   
Do you have questions about Word, Excel, Access, Web Design, or computers in general? Just ask us anything you'd like.
 

Get Free Tips & Tricks
 

Join our mailing list today and get information on our Free Tips & Tricks Newsletter including free video tutorials, eBooks, live seminars, and more.

Email:
Name:
Type in the word to the left:
 
Your email will be kept 100% safe and will never be given to 3rd parties.
 


CLICK HERE for a FREE lesson



Order your first 599CD course now.
Your Satisfaction is Guaranteed!


Subscribe to our RSS FeedWhat's This?

Subscribe to RSS Feed  Add to Live Bookmarks  Add to My AOL  Add to MyYahoo  Add to Google Reader or Homepage    hide  help  

599CD Home   |   Learn More   |   What's New?   |   Contact Us   |   Free Demo   |   FAQs   |   Order Now   |   Become an Affiliate   |   TechHelp   |   MYOLP   |   Jobs   |   Chat   |   Downloads   |   Handbooks  (Text)   |    Mailing List   |   Lost Passwords   |   Referral Program   |   Online Poll   |   Troubleshooter   |   Corporate / Educational / Government / Non-Profit Sales   |   Message Forums   |   Testimonials   |   Privacy Policy   |   Tips & Tricks