Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Data Analysis and Business Modeling with Excel 2013

You're reading from  Data Analysis and Business Modeling with Excel 2013

Product type Book
Published in Oct 2015
Publisher
ISBN-13 9781785289545
Pages 226 pages
Edition 1st Edition
Languages

Table of Contents (18) Chapters

Data Analysis and Business Modeling with Excel 2013
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Getting Data into Excel 2. Connecting to Databases 3. How to Clean Texts, Numbers, and Dates 4. Using Formulas to Prepare Your Data for Analysis 5. Analyzing Your Data Using Descriptive Statistics and Charts 6. Link Your Data Using Data Models 7. A Primer on Using the Excel Solver 8. Learning VBA – Excel's Scripting Language 9. How to Build and Style Your Charts 10. Creating Interactive Spreadsheets Using Tables and Slicers Tips, Tricks, and Shortcuts Index

If/else/then statements


Conditional statements is our next topic at hand. This functionality will give you, the Excel developer, more control, power, and freedom. You will now be able to add intelligence to your spreadsheets and the following examples will tell you how to do this:

  1. Fire up Excel 2013 and create a new spreadsheet. Manually enter the following information:

    Column B tells us how much inventory we currently have on hand. In column C, we will determine whether we need to buy more inventory. Column D will tell us whether we have to buy more inventory and how much inventory we have to buy. We are going to make the assumption that we cannot have more than 200 items in our inventory. In other words, we cannot have more than 200 apples, 200 grapes, and so on.

    How are we going to determine whether we are low in inventory? We are going to use Excel's conditional statements.

  2. In cell C2, type =if(B2<200,"yes","no"), as shown in the following screenshot. How does the if function work? The...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}