Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Get column name from index in Excel Table
  • Conditional Formatting Data bars Examples in Excel
  • How to create Gauge Chart in Excel
  • How to calculate average last N values in a table in Excel
  • How to create dynamic reference table name in Excel

References

  • MATCH function: Description, Usage, Syntax, Examples and Explanation
  • Lookup entire row in Excel
  • VLOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • Multi-criteria lookup and transpose in Excel
  • How to use Excel TRANSPOSE Function

Data Validations

  • Excel Data validation exists in list
  • Excel Data validation date in next 30 days
  • Excel Data validation allow uppercase only
  • Data validation must not exist in list
  • Prevent invalid data entering in specific cells

How to Calculate Tax Rates in Excel

by

This example teaches you how to calculate the tax on an income using the VLOOKUP function in Excel. The following tax rates apply to individuals who are residents of Australia.

Taxable income Tax on this income
0 – $18,200 Nil
$18,201 – $37,000 19c for each $1 over $18,200
$37,001 – $87,000 $3,572 plus 32.5c for each $1 over $37,000
$87,001 – $180,000 $19,822 plus 37c for each $1 over $87,000
$180,001 and over $54,232 plus 45c for each $1 over $180,000

Example: if income is 39000, tax equals 3572 + 0.325 * (39000 – 37000) = 3572 + 650 = $4222

To automatically calculate the tax on an income, execute the following steps.

1. On the second sheet, create the following range and name it Rates.

2. When you set the fourth argument of the VLOOKUP function to TRUE, the VLOOKUP function returns an exact match or if not found, it returns the largest value smaller than lookup_value (A2). That’s exactly what we want!

Explanation: Excel cannot find 39000 in the first column of Rates. However, it can find 37000 (the largest value smaller than 39000). As a result, it returns 3572 (col_index_num, the third argument, is set to 2).

3. Now, what’s left is the remainder of the equation, + 0.325 * (39000 – 37000). This is easy. We can return 0.325 by setting col_index_num to 3 and return 37000 by setting col_index_num to 1. The complete formula below does the trick.

Note: when you set the fourth argument of the VLOOKUP function to TRUE, the first column of the table must be sorted in ascending order.

Post navigation

Previous Post:

VLOOKUP without #N/A error in Excel

Next Post:

Manipulating text strings using Left, Mid, Right, Len, Substitute in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • Nested IF function example in Excel
  • How to use Excel OR Function
  • How to use Excel AND Function
  • SWITCH function example in Excel
  • IF with wildcards in Excel

Date Time

  • Create date range from two dates in Excel
  • Convert Excel time to decimal seconds
  • Calculate time difference in hours as decimal value in Excel
  • Convert Excel time to decimal hours in Excel
  • Display Date is same month in Excel

Grouping

  • If cell contains one of many things in Excel
  • Map text to numbers in Excel
  • Group numbers at uneven intervals in Excel
  • Group numbers with VLOOKUP in Excel
  • How to randomly assign data to groups in Excel

General

  • Basic error trapping example in Excel
  • How to calculate percentage of total in Excel
  • Freeze and Unfreeze Panes in Excel
  • How to get original price from percentage discount in Excel
  • Spell Check in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning