How to vlookup and return date format instead of number in Excel?
The vlookup function is used frequently in Excel for daily work. For example, you are trying to find a date based on the max value in a specified column with the Vlookup formula =VLOOKUP(MAX(C2:C8), C2:D8, 2, FALSE). However, you may notice that the date is displayed as a serial number instead of date format as below screenshot showed. Except for manually changing the cell formatting to date format, is there any handy way to handle it? This article will show you an easy way to solve this problem.
Recommended Productivity Tools for Excel
Office Tab: Bring powerful tabs to Office (include Excel), just like Chrome, Safari, Firefox and Internet Explorer. Save you half the time, and reduce thousands of mouse clicks for you. 30-day Unlimited Free Trial
Kutools for Excel: Save 71% of your time and solve 82% Excel problems for you. 300+ advanced tools designed for 1500+ work scenario, make Excel much easy and increase productivity immediately.60-day Unlimited Free Trial
If you want to get the date based on the max value in a certain column with the Vlookup function, and keep the date format in the destination cell. Please do as follows.
1. Please enter this formula: =TEXT(VLOOKUP(MAX(C2:C8), C2:D8, 2, FALSE),"MM/DD/YY") into a cell and press Enter key to get the correct result. See screenshot:
Note: Please enclose the vlookup formula with TEXT() function. And don’t forget to specify the date format with double quotes at the end of the formula.
- How to copy source formatting of the lookup cell when using Vlookup in Excel?
- How to vlookup and return background color along with the lookup value in Excel?
- How to use vlookup and sum in Excel?
- How to vlookup return value in adjacent or next cell in Excel?
- How to vlookup value and return true or false / yes or no in Excel?
Recommended Productivity Tools
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
To post as a guest, your comment is unpublished.· 7 days agomy date changes to a different year. my formula is =TEXT(VLOOKUP(D4,'payment list (2)'!$B$3:$I$694,7,0),"dd/mm/yyyy")
To post as a guest, your comment is unpublished.· 5 months agoi need a date with help of vlookup but date entry was 2 and 3 and more. I need last one date when order completed kindly help
To post as a guest, your comment is unpublished.· 6 months agoMy Formula =TEXT(VLOOKUP(A2,I2:I931,2,FALSE),"MM/DD/YY") gives me the #REF! error. Any advice?