Solved

DateValue vs. Date

Posted on 2011-09-29
9
518 Views
Last Modified: 2012-05-12
I have a column of dates that are formated as dates

In the next column i have a vlookup

For some reason when i evaluate the formula the date is  showing as a datevalue so its making the vlookup come back with an N/A

Any help would be appreciated

Example

Column A                     Column B
10/20/2011                  =vlookup(43637,...........
0
Comment
Question by:kwarden13
9 Comments
 
LVL 92

Accepted Solution

by:
Patrick Matthews earned 500 total points
ID: 36817859
VLOOKUP will fail to find a match if you are not using the same data types.  Thus, if you have a column of text values that LOOK like dates, but you use a true date or numeric value in your VLOOKUP, VLOOKUP will not find the match.

Have a look at this article for more troubleshooting tips:

http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/A_2637-Six-Reasons-Why-Your-VLOOKUP-or-HLOOKUP-Formula-Does-Not-Work.html

BTW, 43637 corresponds to a date of 21 June 2019...
0
 

Author Comment

by:kwarden13
ID: 36817872
Both of them say date formats when I go to format
0
 

Author Comment

by:kwarden13
ID: 36817874
I even pciked the same format
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 36817875
And BTW, if you use:

=VLOOKUP(40836,...)

and one of your date values is 20 Oct 2011, as above, VLOOKUP will find it, as long as it really is a date value, and not text.
0
 
LVL 33

Expert Comment

by:jppinto
ID: 36817876
Could you post a sample file for us to take a look please?
0
 

Author Comment

by:kwarden13
ID: 36817878
The 43637 was just an exmple I through out not what it actually corresponds to
0
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 36817879
Please post a sample file
0
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 36890163
If you change the format of your column A dates, do they actually change display? If not, then they are text.
0
 

Expert Comment

by:sabouille
ID: 36891541
it will failled to find a match if not using the same data types !
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Outlook Free & Paid Tools
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question