+ Reply to Thread
Results 1 to 7 of 7

Can't use a standard vlookup on this data set....

  1. #1
    Registered User
    Join Date
    03-19-2015
    Location
    manchester
    MS-Off Ver
    2013
    Posts
    3

    Can't use a standard vlookup on this data set....

    I have a listing of data which has a column with 'entry number' on it. Call this list 1.

    I then have another listing of data (list 2) which has a date column that I want to get into the 'list 1' data. However instead of having an 'entry number' column that i can do a look up on this has 'entry number from' and 'entry number to' columns. Therefore an entry number on list one may be included within one row of data on the list 2 but will be within the range of the from and to cells.

    Is there any way of returning a date from list 2 to match the entry numbers on list 1?

    Any help would be very much appreciated.

    Thank you

    E.g. list 1

    Type GL name Entry
    SALES Sales Ledger 85101


    E.g. list 2
    No. Creation Date Source Code Journal Batch Name From Entry No. To Entry No. From VAT Entry No. To VAT Entry No.
    11160 02/01/2014 PURCHASES 83613 83614 10796 10796

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Can't use a standard vlookup on this data set....

    Can you post a sample workbook?
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

  3. #3
    Registered User
    Join Date
    03-19-2015
    Location
    manchester
    MS-Off Ver
    2013
    Posts
    3

    Re: Can't use a standard vlookup on this data set....

    Sample workbook...

  4. #4
    Registered User
    Join Date
    01-28-2014
    Location
    Brno
    MS-Off Ver
    Excel 2010
    Posts
    70

    Re: Can't use a standard vlookup on this data set....

    Put this formula to C2 and copy down:
    =IFERROR(INDEX('List 2'!$A$2:$A$3073,MATCH('List 1'!A2,'List 2'!$B$2:$B$3073,1),1),"no match found")

    Note: Entries in column B on list 2 must be sorted from smallest to largest , otherwise you get wrong results.
    Attached Files Attached Files
    Last edited by pepe74287; 03-19-2015 at 11:05 AM.

  5. #5
    Registered User
    Join Date
    03-19-2015
    Location
    manchester
    MS-Off Ver
    2013
    Posts
    3

    Re: Can't use a standard vlookup on this data set....

    Brilliant - thank you very much.

  6. #6
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Can't use a standard vlookup on this data set....

    In C2 of List1, then drag down
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    01-28-2014
    Location
    Brno
    MS-Off Ver
    Excel 2010
    Posts
    70

    Re: Can't use a standard vlookup on this data set....

    kvsrinivasamurthy - In this case I've tried to avoid SUMPRODUCT as there are thousands of rows which needs to be recalculated every time you change content of some cells and this take computer resources and time, thus I came up with simple INDEX-Match...

+ 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. Post Data at End of Column Data with Criteria Also Standard Dev.
    By chemmiah in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2013, 09:15 AM
  2. [SOLVED] Import data from many standard workbooks
    By mladenb in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-12-2012, 10:03 AM
  3. Macro to Vlookup and pull data from standard workbooks of a folder to a target one
    By Silver.blue in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-05-2011, 05:38 PM
  4. Data with fixed mean and standard deviation
    By Klorgrodan in forum Excel General
    Replies: 2
    Last Post: 02-10-2009, 10:23 AM
  5. statistical standard error of a set of data
    By essexpoker in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-25-2008, 03:18 PM

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