DATEVALUE function - Functions to convert text format dates to serial numbers in Excel
The following article introduces you to the DATEVALUE function - one of the functions in the date and time group function is very popular in Excel.
DATEVALUE function - Functions to convert text format dates to serial numbers in Excel Picture 1
Description: The function performs a conversion of a stored date value as a text into a serial number recognized by Excel. The function is useful in cases where the worksheet contains the date format you want to filter or sort.
Syntax: DATEVALUE (date_text)
Where: date_text is the date value to be converted to serial number. Date values range from 1/1/1900 -> 12/31/9999.
Attention:
- If the year value in the date_text argument is omitted the function takes the current year on the clock on your computer.
- Excel stores dates in sequential serial format to facilitate calculation.
- Most functions automatically convert date values into serial numbers.
For example:
Convert date values in different formats to serial numbers according to Excel conventions.
DATEVALUE function - Functions to convert text format dates to serial numbers in Excel Picture 2
- In the cell to calculate, enter the formula: = DATEVALUE ("May 1, 1985").
DATEVALUE function - Functions to convert text format dates to serial numbers in Excel Picture 3
- Press Enter -> the serial number corresponding to May 1, 1985 is:
DATEVALUE function - Functions to convert text format dates to serial numbers in Excel Picture 4
- Similarly copying the formula for the remaining values results:
DATEVALUE function - Functions to convert text format dates to serial numbers in Excel Picture 5
- With individual date, month and year values, you can combine them to calculate the serial number according to the following formula: = DATEVALUE (F12 & "/" & G12 & "/" & H12).
DATEVALUE function - Functions to convert text format dates to serial numbers in Excel Picture 6
- Press Enter -> the corresponding serial number is:
DATEVALUE function - Functions to convert text format dates to serial numbers in Excel Picture 7
Above are instructions and some specific examples when using the DATEVALUE function .
Good luck!
You should read it
- DATEVALUE function - The function converts dates into numbers in Excel
- Save time with these text formatting functions in Microsoft Excel
- How to convert a sequence of numbers into dates in Excel
- How to format dates in Excel
- How to convert numbers to dates in Excel
- The Text function converts a numeric value into text in Excel
- Instructions on how to count words in cells in Excel
- DATEDIF function - The function calculates the number of days, months, years between 2 dates in Excel
- Convert numbers to text in Excel
- Instructions to stamp negative numbers in Excel
- How to use the Convert function on Excel
- Instructions on how to fix reverse dates in Excel
May be interested
DAY function - The function returns the date value of a specific date in Excel
The DAYS function - The function returns the number of days between 2 dates in Excel
DAYS360 function - The function returns the number of days between 2 dates, based on 360 days in Excel
EDATE function - Add and subtract months to a specified date in Excel
EOMONTH function - The function returns the last day in the month before or after 1 day of a specified number of months in Excel
HOUR function - The function returns the hour of a time value in Excel