Solved

DateValue vs. Date

Posted on 2011-09-29
9
505 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

831 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