Logical tests.

Slides:



Advertisements
Similar presentations
Copyright © 2013 Pearson Education, Inc. publishing as Prentice Hall2-1.
Advertisements

Chapter 4 Accounting for Merchandising Operations.
The Cost of Capital Omar Al Nasser, Ph.D. FIN 6352
2013.  Process customer returns and credits  Write off customer invoices (record bad debts)  Create customer statements  Collect sales tax  Create.
Tutorial 7: Using Advanced Functions and Conditional Formatting
IF Function Decision: Action based on condition. Examples SF State Tuition calculation: –
Sample Problems Exercises 23.1 and 23.3 Exercise 23.1 and 23.3 both use the following comparative income statement:.
ACOT Intro/Copyright Succeeding in Business with Microsoft Excel 2010.
Tutorial 8: Working with Advanced Functions
Mr Shum Spreadsheets eBooklet. Key Words Key Word CellAn individual box on a spreadsheet RowCells going across in an horizontal line. All rows have a.
Advanced Lesson 2: Advanced Data Analysis A PivotTable is a sophisticated tool that creates a concise report summarizing large amounts of data based on.
ADVANCED EXCEL FORMULAS 1 Lesson 8. Named Ranges Name a cell or a range of cells Can make formulas easy to understand =SUM(Sales) instead of =SUM(A2:A16)
Explaining my Excel Document By Sebastian Sergent.
$$ Entrepreneurial Finance, 5th Edition Adelman and Marks Pearson Higher Education ©2010 by Pearson Education, Inc. Upper Saddle River, NJ Chapter.
COMPREHENSIVE Excel Tutorial 7 Using Advanced Functions, Conditional Formatting, and Filtering.
 5.1 Taxes and Your Paycheck.  Payroll Tax  Income Tax  Federal Insurance Contribution Act (FICA)  Withholding  Gross Income  Net Income  Form.
Entrepreneurship.  A summary of a company’s profit/loss over a specific time period.  It shows the income earned and expenses paid for a business.
Pro Forma Income Statement Projected or “future” financial statements. The idea is to write down a sequence of financial statements that represent expectations.
© Scott/Jones Publishing, Inc. 1 Chapter 18 Working with Advanced Functions Excel 2003, Volume 2 by Karen J. Jolly Scott/Jones Publishing, Inc.
Lesson 5: Working with Formulas and Functions Logical and 3D Formulas.
Creating Projections Income Statement History Guidance Reality Check Interpolation.
GOALS BUSINESS MATH© Thomson/South-WesternLesson 2.4Slide 1 2.4State and City Income Taxes Calculate state and city income taxes using a flat tax rate.
Starter – Name the Functions. Lesson Objectives 1.Be able to perform a VLOOKUP and HLOOKUP in Excel 2.Be able to use named ranges in Excel 3.Be able.
FOOD COSTING A Vital part of success in the food industry!
Decisions Action based on condition. Examples Simple condition: –If total sales exceeds $300 then applies 5% discount; otherwise, no discount. More than.
Are used in higher-level operations, such as conditional and comparison equations to compute interest rates, due dates and payment terms, and financial.
Three Journal Entries to Record a Payroll. Total Checks.
Advanced Functions Objective Advanced Functions are used in higher-level operations, such as in conditional and comparison equations to compute.
Income Tax Arithmetic. Income Tax The table shows the tax rates in force at the present time. Rate of TaxTaxable Income Lower rate 20%£1  £2 500 Basic.
Are used in higher-level operations, such as conditional and comparison equations to compute interest rates, due dates and payment terms, and financial.
Functions BUS 782. What are functions? Functions are prewritten formulas. We use functions to perform calculations. Enclose arguments within parentheses.
Pmt Function Vlookup Function Excel Database.  Naming a Range is very useful Makes copying more clear because formula or function contains a name rather.
IF Function Decision: Action based on condition. Examples SF State Tuition calculation: –
MS-EXCEL PART 3. Use data validation in Excel to make sure that users enter certain values into a cell. Data Validation Example In this example, we restrict.
V- Look Up. Lookup Tables Often, we need to retrieve data that is stored in a table For example, consider these metals and their properties: Metal Modulus.
Logical Functions and Conditional Formatting in Excel
Key Concepts and Skills
Bank of New Zealand Officers’ Provident Association
Advanced Functions Computer Applications 1
Accounting: What the Numbers Mean
How tax is calculated on your Taxable income Example Your gross income = $126,000 Your deduction = $ 6,000 Taxable income = $120,000.
VLOOKUP Finds an entry from a vertical array based on a criteria
Obj – Indentify and Use Advanced Functions
CS1100: Computer Science and Its Applications
Merchandising Operations
Money Management Strategy Personal Financial Statement
Microsoft Office Excel 2003
Adding Functionality to your Spreadsheet
FUNCTIONAL SKILLS ICT.
How To Use VLOOKUP In Microsoft Excel
Excel: VLOOKUP.
Logic Function Review.
Advanced Functions – Obj. 4.01
Types of Tax Plans Unit 3 – Taxes – Day 2.
Moore Accounting Notes
Analyze Your Financial Performance
Decision: Action based on condition
V- Look Up.
Break-Even Analysis.
Functions BUS 782.
“The greatest invention of the 20th Century is compound interest!”
Excel Tips and Tricks Presented by: Tracee Baker, Business Analyst, TD Ameritrade July 21, /3/2019.
Table Lookup and Error Handling
Advanced Functions – Obj. 4.01
Intro to Excel CSCI-150.
Lesson 5 Topic 1 – Table Lookup and Error Handling
Advanced Functions Advanced Functions are used in higher-level operations, such as conditional and comparison equations to compute interest rates,
2-2 Logic Part 2 Truth Tables.
Logical tests.
Vlookup For reconciliations
Presentation transcript:

Logical tests

Logical tests Consider an income tax system in which a fixed allowance of £4000 is awarded against gross income, i.e. no tax is paid on first £4000 earned. First £16000 is taxed at 20% Over £16000 the rate is 25%

Continued… If you earn £30000 Taxable income (TI) = £30000 - £4000 = £26000 First £16000 of this is taxed at 20%; 20/100*£16000 = £3200 The rest (£10000) is taxed at 25%; 25/100*£10000 = £2500 Therefore total tax bill is £3200+£2500=£5700 Net income is £30000-£5700=£24300

In Excel… We can use the IF statement Let G be gross income A be the tax free allowance Taxable income, TI=G-A Check to see where any tax should be paid =IF(G-A<0,0, G-A)

… Now to calculate the amount of tax If TI is less than the upper limit, M, then the tax is simply = lower rate * TI If TI is greater than M, then the tax is lower rate*TI + upper rate * (TI-M) Translating into an IF statement, =IF(G-A<=M, lower*(G-A), lower*M+upper*(G-A-M))

Naming cells To assign a name to a cell, highlight the cell and from the menu choose FORMULAS RIBBON -> NAME MANAGER->DEFINE NAME This can be very useful in keeping track of entries in formulae, especially as it means you do not have to use $ to fixed the cell you are referring to.

… Note that the cells A, tl, th, M, G, TI, TD and NI are all named cells Note lower rate = tl, higher rate =tu Try this on your own without naming the cells, what do you think will happen?

Vertical lookups (VLOOKUP) How do we deal with situations where there may be more than two or three embedded IF statements, when it may get rather messy? Imagine a firm is selling kitchen units offers a range of discount rates depending on the size of the order.

Example For orders less than 10 units, there is no discount Orders >=10 but <25 a 4% discount is offered Orders >=25 but <45 a 6% discount is offered Orders >=45 but <75 a 7% discount is offered Orders >=75but <100 a 7.5% discount is offered Orders >=100 a 9% discount is offered

… We use the VLOOKUP statement

Define the lookup table The order size is stored in cell B3 The different discount rates are stored in cells D3:E8 We want to return the values from column 2 of the lookup table The statement is therefore = VLOOKUP(B3, D3:E8, 2)