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

Data Analysis

  • Move chart to a separate worksheet in Excel
  • How to Create Area Chart in Excel
  • Conditional Formatting Color Scales Examples in Excel
  • How to Create Thermometer Chart in Excel
  • How to count table columns in Excel

References

  • How to use Excel COLUMN Function
  • How to get first column number in range in Excel
  • How to get last row in text data in Excel
  • Create hyperlink with VLOOKUP in Excel
  • Last row number in range

Data Validations

  • Excel Data validation unique values only
  • Excel Data validation allow weekday only
  • Excel Data validation exists in list
  • Excel Data validation specific characters only
  • Excel Data validation don’t exceed total

Assign points based on late time in Excel

by

It you need to assign points based on late time in Excel then this tutorials is for you. See the example below.

To assign penalty points based on an amount of time late, you can use a nested IF formula.

Formula

=
IF(time<VALUE("0:05"),0,
IF(time<VALUE("0:15"),1,
IF(time<VALUE("0:30"),2,
IF(time<VALUE("0:60"),3,
IF(time<VALUE("4:00"),4,
5)))))

Explanation

In the example shown, the formula in E5 is:

=
IF(D5<VALUE("0:05"),0,
IF(D5<VALUE("0:15"),1,
IF(D5<VALUE("0:30"),2,
IF(D5<VALUE("0:60"),3,
IF(D5<VALUE("4:00"),4,
5)))))

Note: line breaks added for readability.

Worked Example:   Roll back weekday to Friday base on a particular date in Excel

How this formula works

This formula is a classic example of a nested IF formula that tests threshold values in ascending order. To match the schedule shown in G4:G10, the formula first checks the late by time in D5 to see if it’s less than 5 minutes. If so, zero points are assigned:

IF(D5<VALUE("0:05"),0,

If the result of the logical test above is FALSE, the formula checks to see if D5 is less than the next threshold, which is 15 minutes:

IF(D5<VALUE("0:15"),1,

The same pattern repeats at each threshold. Because the tests are run in order, from smallest to largest, there is no need for more complicated bracketing.

Worked Example:   Win loss points calculation in Excel

The VALUE function is used to make Excel treat time value at each threshold as a number instead of next.

Worked Example:   Calculate number of hours between two times in Excel

Post navigation

Previous Post:

Number and Text Filters Examples in Excel

Next Post:

Convert date string to date time 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

  • SWITCH function example in Excel
  • How to use Excel AND Function
  • Return blank if in Excel
  • Nested IF function example in Excel
  • Extract multiple matches into separate rows in Excel

Date Time

  • How to calculate months between dates in Excel
  • EDATE function: Description, Usage, Syntax, Examples and Explanation
  • Get last working day in month in Excel
  • Get age from birthday in Excel
  • ISOWEEKNUM function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • How to randomly assign data to groups in Excel
  • Group numbers with VLOOKUP in Excel
  • Calculate conditional mode with criteria in Excel
  • Running count group by n size in Excel
  • Group times into 3 hour buckets in Excel

General

  • How to calculate percentage of total in Excel
  • Hide and Unhide Columns or Rows in Excel
  • How to fill cell ranges with random number from fixed set of options in Excel
  • How to calculate percent variance in Excel
  • How to get original number from percent change in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning