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

Data Analysis

  • How To Create Frequency Distribution in Excel
  • How To Remove Duplicates In Excel Column Or Row?
  • Subtotal function in Excel
  • Move chart to a separate worksheet in Excel
  • Example of COUNTIFS with variable table column in Excel

References

  • Extract all partial matches in Excel
  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions
  • Create hyperlink with VLOOKUP in Excel
  • Two-way lookup with VLOOKUP in Excel
  • Complete List of Excel Lookup and Reference Functions, References and Examples

Data Validations

  • Excel Data validation whole percentage only
  • Excel Data validation allow weekday only
  • Excel Data validation must contain specific text
  • Excel Data validation date in next 30 days
  • Data validation must not exist in list

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.

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.

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

Post navigation

Previous Post:

COSH function: Description, Usage, Syntax, Examples and Explanation

Next Post:

Excel Data validation require unique number

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

  • IF with wildcards in Excel
  • How to return blank in place of #DIV/0! error in Excel
  • How to use Excel XOR Function
  • IF with boolean logic in Excel
  • TRUE function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • DAYS function: Description, Usage, Syntax, Examples and Explanation
  • NETWORKDAYS.INTL function: Description, Usage, Syntax, Examples and Explanation
  • How to join date and text together in Excel
  • Get day from date in Excel
  • Add decimal hours to time in Excel

Grouping

  • Group arbitrary text values in Excel
  • Map text to numbers in Excel
  • Categorize text with keywords in Excel
  • If cell contains one of many things in Excel
  • Running count group by n size in Excel

General

  • How to test a range for numbers in Excel
  • Cell References: Relative, Absolute and Mixed Referencing Examples
  • Print Excel Sheet In Landscape Or Portrait
  • Hide and Unhide Columns or Rows in Excel
  • 231 Keyboard Shortcut Keys In Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning