+ Reply to Thread
Results 1 to 5 of 5

Vlook up not picking every value

  1. #1
    Registered User
    Join Date
    08-23-2019
    Location
    jaipur
    MS-Off Ver
    2
    Posts
    19

    Vlook up not picking every value

    I have 2 workbooks
    in one of the sheets, I am trying to use vlookup and get values from the second workbook.
    I have combined date and time column in both the workbooks so as to use the vlookup.

    The formula is only giving me 60-70% of the values. I am not sure why its not working on remaining values. The values that it has given are correct. Also manual vlookup is working on the sheet. There is no reason why vba vlookup should not work.

    I am sharing the workbooks with you guys. Here majority of 28th feb values are not copied in excel file even after using vlook up.

    Excel is the main file and ce 10750 is the second file from where data is taken.

    Please help
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,899

    Re: Vlook up not picking every value

    It is not clear how you think this is going to work. Your VLOOKUP call looks like this:

    Please Login or Register  to view this content.
    This call is checking the value in column C, which looks like this

    27/02/20190.497222222222222

    and trying to find an exact match for that value in column B which is just a date. Contrary to your description, you have not combined time and date in the CSV file. I don't see why it should work for any of the values.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    08-23-2019
    Location
    jaipur
    MS-Off Ver
    2
    Posts
    19

    Re: Vlook up not picking every value

    Well, please run the macro. It will insert the line in second file too.

  4. #4
    Registered User
    Join Date
    08-23-2019
    Location
    jaipur
    MS-Off Ver
    2
    Posts
    19

    Re: Vlook up not picking every value

    Someone please

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,899

    Re: Vlook up not picking every value

    Your macro is specific to your environment. I would have to rewrite it to run it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VBA - Vlook up function not picking all values
    By Siddharthagrawal in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-25-2019, 02:36 PM
  2. [SOLVED] VLOOK Formula Only Shows the VLOOK Formula Instead of Lookup Value
    By onlyonekj in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-29-2017, 03:30 PM
  3. [SOLVED] Vlookup – Picking up first date and then picking up second date if there is one.
    By CranstonWatts in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-21-2012, 11:32 AM
  4. vlook up
    By KL in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 03:05 PM
  5. vlook up
    By Sean in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  6. [SOLVED] VLOOK
    By Adnan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 10:05 AM
  7. [SOLVED] vlook up
    By Sean in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1