#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 190
Default VLook up Error

Hi there,

I am trying to do a Vlookup on some activity dates. My formula is
=VLOOKUP(O14,Sheet2!$A$2:$L$12804,9) where the value is an activity ID and
the index column is the finish date which is in date format. However the date
that I get from the VLOOKUP is not the same date as in the table. Some dates
are correct while some are not. I have checked many times but still don't
know what is the problem. Appreciate if anyone can help me.

Regards,
Mary
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default VLook up Error

There is a optional fourth parameter that can be used with VLOOKUP -
if omitted (as in your case) or set to TRUE or 1 then the function
needs to have the data table sorted. However, if it is set to FALSE or
0 then the data does not need to be sorted and the function will
return an exact match. So, try this:

=VLOOKUP(O14,Sheet2!$A$2:$L$12804,9,0)

Hope this helps.

Pete

On Nov 23, 10:02 am, Mary wrote:
Hi there,

I am trying to do a Vlookup on some activity dates. My formula is
=VLOOKUP(O14,Sheet2!$A$2:$L$12804,9) where the value is an activity ID and
the index column is the finish date which is in date format. However the date
that I get from the VLOOKUP is not the same date as in the table. Some dates
are correct while some are not. I have checked many times but still don't
know what is the problem. Appreciate if anyone can help me.

Regards,
Mary


  #3   Report Post  
Posted to microsoft.public.excel.misc
tom tom is offline
external usenet poster
 
Posts: 570
Default VLook up Error

Mary,
Try this:
=VLOOKUP(O14,Sheet2!$A$2:$L$12804,9,FALSE)

"Mary" wrote:

Hi there,

I am trying to do a Vlookup on some activity dates. My formula is
=VLOOKUP(O14,Sheet2!$A$2:$L$12804,9) where the value is an activity ID and
the index column is the finish date which is in date format. However the date
that I get from the VLOOKUP is not the same date as in the table. Some dates
are correct while some are not. I have checked many times but still don't
know what is the problem. Appreciate if anyone can help me.

Regards,
Mary

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VLOOK-pivot table expanding want to update vlook automatically CrimsonPlague29 Excel Worksheet Functions 0 August 8th 07 09:44 PM
VLOOK-pivot table expanding want to update vlook automatically CrimsonPlague29 Excel Worksheet Functions 0 August 8th 07 09:44 PM
vlook kiki Excel Worksheet Functions 4 January 22nd 07 02:38 PM
How to use Vlook up bdent Excel Discussion (Misc queries) 3 August 24th 06 10:27 PM
vlook up arcticale Excel Discussion (Misc queries) 1 January 25th 06 09:36 PM


All times are GMT +1. The time now is 12:53 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"