Solved

DateValue vs. Date

Posted on 2011-09-29
9
521 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Office 365 Advanced Training for Admins

Special Offer:  Buy 1 course, get 2nd free!  Buy the 'Managing Office 365 Identities & Requirements' course w/ Accelerated TestPrep, and automatically receive the 'Enabling Office 365 Services' course FREE!

 
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

Office 365 Training for Admins

Learn how to provision tenants, synchronize on-premise Active Directory, and implement Single Sign-On with these master level course.  Only from Platform Scholar

Question has a verified solution.

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

Suggested Solutions

Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
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 on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

732 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