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

Data Analysis

  • How to create dynamic reference table name in Excel
  • Use Data Form to input, edit and delete records in Excel
  • How to create running total in an Excel Table
  • How to create Checklist in Excel
  • Understanding Anova in Excel

References

  • How to calculate two-way lookup VLOOKUP in Excel Table
  • To count total rows in a range in Excel
  • Create hyperlink with VLOOKUP in Excel
  • LOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel OFFSET function

Data Validations

  • Excel Data validation don’t exceed total
  • Excel Data validation number multiple 100
  • Excel Data validation allow weekday only
  • Excel Data validation specific characters only
  • Excel Data validation unique values only

Category: Date and Time Functions

Excel Date and Time Functions return a dynamic date or time in a cell.

Calculate date overlap in days in Excel

by

If you need to calculate the number of days that overlap in two date ranges, then this tutorials is for you. You can use basic date arithmetic, together with the the MIN and MAX functions. See example below; Formula =MAX(MIN(end1,end2)-MAX(start1,start2)+1,0) Explanation In the example shown, the formula in D6 is: =MAX(MIN(end,C6)-MAX(start,B6)+1,0) How this formula works Excel dates …

Continue Reading

Calculate days remaining in Excel

by

If you need to calculate the days remaining from one date to another, you can use a simple formula that subtracts the earlier date from the later date. See example below; Formula =end_date-start_date Explanation In the example shown, the formula in D5 is: =C5-B5 How this formula works Dates in Excel are just serial numbers …

Continue Reading

Calculate expiration date in Excel

by

If you need to calculate an expiration in the future, you can use a variety of formulas. See example below; Formula =A1+30 // 30 days Explanation In the example shown, the formulas used in column D are: =B5+30 // 30 days =B5+90 // 90 days =EOMONTH(B7,0) // end of month =EDATE(B8,1) // next month =EOMONTH(B7,0)+1 …

Continue Reading

Calculate number of hours between two times in Excel

by

This tutorials shows how to calculate number of hours between two times in Excel. To calculate the number of hours between two times, you can use a formula that simply subtracts the start time from the end time. This is useful to calculate working time, calculate elapsed time, etc. However, when times cross a day boundary …

Continue Reading

Calculate retirement date in Excel

by

If you need to calculate retirement date in Excel, then this tutorials is for you. To calculate a retirement date based on a birth date, you can use the EDATE function. See example below; Formula =EDATE(A1,12*60) Explanation In the example shown, the formula in D6 is: =EDATE(C6,12*60) How this formula works The EDATE function is fully automatic, and will …

Continue Reading

Calculate years between dates in Excel

by

If you want to calculated the number of years between two dates,  then this tutorials is for you. See example below; To calculated the number of years between two dates, you can use the YEARFRAC function, which will return a decimal number representing the fraction of a year between two dates. Here are a few examples …

Continue Reading

Count birthdays by month in Excel

by

This tutorial show how to Count birthdays by month in Excel using the example below. To count the number of birthdays in a list, you can use a formula based on the SUMPRODUCT and MONTH functions. Formula =SUMPRODUCT(–(MONTH(birthday)=number)) Explanation of how this formula works In the example shown, E5 contains this formula: =SUMPRODUCT(–(MONTH(birthday)=D5)) This formula counts …

Continue Reading

Convert Unix time stamp to Excel date

by

This tutorial show how to Convert Unix time stamp to Excel date using the example below. To convert a time in Excel’s format to a Unix time stamp, you can use a formula based on the DATE function. Formula =(A1/86400)+DATE(1970,1,1) Explanation of how this formula works In the example shown, the formula in C5 is: =(B5/86400)+DATE(1970,1,1) The Unix …

Continue Reading

Convert time to time zone in Excel

by

This tutorial show how to Convert time to time zone in Excel using the example below. To convert a time from one time zone to another, you can use a formula that converts hours entered as whole numbers to the decimal values that Excel recognizes as times.  Formula =MOD(time+(hours/24),1) Explanation of how this formula works In …

Continue Reading

Convert text to date in Excel

by

This tutorial show how to Convert text to date in Excel using the example below. To convert text in an unrecognized date format to a proper Excel date, you can parse the text and assemble a proper date with a formula based on several functions: DATE, LEFT, MID, and RIGHT. Note: Before you go the formula route, see …

Continue Reading

Convert text timestamp into time in Excel

by

This tutorial show how to Convert text timestamp into time in Excel using the example below. Top convert a timestamp entered as text into a proper Excel time, you can use the MID function to extract components and the TIME function to assemble the time. Formula =TIME(MID(A1,1,2),MID(A1,4,2),MID(A1,7,2)) Explanation of how this formula works In the example …

Continue Reading

Extract time from a date and time in Excel

by

This tutorial show how to Extract time from a date and time in Excel using the example below. If you have dates with time values and you want to extract only the time portion (the fractional part), you can use a formula that uses the MOD function. Note: Excel handles dates and time using a scheme in which …

Continue Reading

Extract date from a date and time in Excel

by

This tutorial show how to Extract date from a date and time in Excel using the example below. If you have dates with time values and you want to extract only the date portion, you can use a formula that uses the INT function. Note: Excel handles dates and time using a scheme in which …

Continue Reading

Dynamic date list in Excel

by

This tutorial show how to Dynamic date list in Excel using the example below. To create a dynamic date list, you can use a formula that increments a start date to create and display additional dates.  Formula =start+ROWS(exp_rng)-1-offset Explanation of how this formula works In the example shown, the formula in B5 is: =start+ROWS($B$5:B5)-1-offset where “start” is …

Continue Reading

How to get number of days, weeks, months or years between two dates in Excel

by

To get the number of days, weeks or years between two dates in Excel, use the DATEDIF function. The DATEDIF function has three arguments. 1. Fill in “d” for the third argument to get the number of days between two dates. Note: =A2-A1 produces the exact same result! 2. Fill in “m” for the third argument to …

Continue Reading

How to calculate Quarter of Date in Excel

by

An easy formula that returns the quarter for a given date. There’s no built-in function in Excel that can do this. 1. Enter the formula shown below. Explanation: ROUNDUP(x,0) always rounds x up to the nearest integer. The MONTH function returns the month number of a date. In this example, the formula reduces to =ROUNDUP(5/3,0), =ROUNDUP(1.666667,0), 2. May is …

Continue Reading

How to calculate Day of the Year in Excel

by

An easy formula that returns the day of the year for a given date. There’s no built-in function in Excel that can do this. 1. To get the year of a date, use the YEAR function. 2. Use the DATE function below to return January 1, 2016. The DATE function accepts three arguments: year, month and day. 3. The …

Continue Reading

How to enter Today’s Date or Static Date and Time in Excel

by

To enter today’s date in Excel, use the TODAY function. To enter the current date and time, use the NOW function. To enter the current date and time as a static value, use keyboard shortcuts. Today and Now 1. To enter today’s date in Excel, use the TODAY function. Note: the TODAY function takes no arguments. This date will …

Continue Reading

Sum through n months in Excel

by

This tutorial shows how to Sum through n months in Excel using the example below; Formula =SUM(OFFSET(start,0,0,N,1)) Explanation To sum a set of monthly data through n number of months, you can use a formula based on the SUM and OFFSET functions. In the example shown, the formula in G6 is: =SUM(OFFSET(C5,0,0,G5,1)) How this formula …

Continue Reading

How to Calculate Age in Excel

by

To calculate the age of a person in Excel, use the DATEDIF function and the TODAY function. The DATEDIF function has three arguments. 1. Enter the date of birth into cell A2. 2. Enter the TODAY function into cell B2 to return today’s date. 3. The DATEDIF function below calculates the age of a person. Note: fill …

Continue Reading

How to get Weekdays, Working days between Two Dates in Excel

by

Learn how to get the day of the week of a date in Excel and how to get the number of weekdays/working days between two dates. Weekday Function 1. The WEEKDAY function in Excel returns a number from 1 (Sunday) to 7 (Saturday) representing the day of the week of a date. Apparently, 12/18/2017 falls on a Monday. 2. You can …

Continue Reading

Find Last Day of the Month in Excel

by

To get the date of the last day of the month in Excel, use the EOMONTH (End of Month) function. 1. For example, get the date of the last day of the current month. Note: the EOMONTH function returns the serial number of the date. Apply a Date format to display the date. 2. For example, get the date of …

Continue Reading

Excel Date & Time Functions Example

by

To enter a date in Excel, use the “/” or “-” characters. To enter a time, use the “:” (colon). You can also enter a date and a time in one cell. Note: Dates are in US Format. Months first, Days second. This type of format depends on your windows regional settings. Learn more about Date and Time formats. Year, …

Continue Reading

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

by

What is DAYS function in Excel? DAYS function is one of Date and Time functions in Microsoft Excel that returns the number of days between two dates. Syntax of DAYS function DAYS(end_date, start_date) The DAYS function syntax has the following arguments. End_date    Required. Start_date and End_date are the two dates between which you want to know the number …

Continue Reading

Posts navigation

  • Previous
  • 1
  • 2
  • 3
  • 4

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

  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • Extract multiple matches into separate rows in Excel
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel OR Function
  • IFS function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • How to calculate months between dates in Excel
  • Basic Overtime Calculation Formula in Excel
  • How to get Weekdays, Working days between Two Dates in Excel
  • Convert text to date in Excel
  • Display the current date and time in Excel

Grouping

  • If cell contains one of many things in Excel
  • Group numbers at uneven intervals in Excel
  • Map inputs to arbitrary values in Excel
  • Group numbers with VLOOKUP in Excel
  • Calculate conditional mode with criteria in Excel

General

  • Share Excel data with Word documents
  • Subtotal invoices by age in Excel
  • How to calculate percent of students absent in Excel
  • Count cells that do not contain errors in Excel
  • How to calculate percent sold in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning