+ Reply to Thread
Results 1 to 4 of 4

Lookup - values between 2 columns and bring back 3rd column data for all instances

  1. #1
    Registered User
    Join Date
    04-09-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2007
    Posts
    2

    Lookup - values between 2 columns and bring back 3rd column data for all instances

    Summary
    I have a file that has a large number of rows (about 26,000) that contains several columns of data (39).

    I have a list of approximately 300 items that I need to compare against the file and bring back every instance of the 300, where there is a match and bring back specific information contained in another column.

    Detail
    I have a list of expired part numbers (all unique) and I need to know where each expired part number exists, by bring back a 3rd column of information - the location tag( Which is a unique identifier) - NOTE - the items in the expired list can exist in multiple locations and a location can have multiple expired SKU's

    I am able to re-arrange my data to put the columns I need in any order from A-Z so for purposes of helping with a formula - I can move the data columns I need to A,B,C

    Can someone assist with the formula I could use to bring back all values that match with the specific location tag data?

    Thank you

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,938

    Re: Lookup - values between 2 columns and bring back 3rd column data for all instances

    Copy your sheet (or your workbook) so that you can work on a copy.

    To do what you want, use a column of formulas.

    Insert two new columns A and B in your new sheet, copy your list of 300 items into the new column A starting at A2, and in B2 use this formula:

    =MATCH(A2,C:C,False)

    where C is what used to be your old column A (assuming that it has item numbers).

    Then copy B2 down to match your 26000 rows in column C. Sort your entire sheet based on column B, and delete any row where column B is an error.

    Then delete columns A and B (and any other columns that you don't need) and you're done.
    Last edited by Bernie Deitrick; 02-21-2017 at 06:04 PM.
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Valued Forum Contributor spitfireblue's Avatar
    Join Date
    01-29-2015
    Location
    Adelaide, Australia
    MS-Off Ver
    2007,2010,2016
    Posts
    611

    Re: Lookup - values between 2 columns and bring back 3rd column data for all instances

    Hi Mark,

    Let's say the 26,000 rows of data are on a sheet called "Data" with an item number in column A and the location tag in column C, and the 300 items to look up are in a sheet called "Check" with the item number in Column A (starting at row 2), you can use a formula like this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards,
    Stephen

    If you feel someone has helped you please thank them and click on the star on their post to add reputation.
    Please ensure that you use code tags where relevant, and mark solved threads as solved.
    Most of all please be respectful and understanding of others.

  4. #4
    Registered User
    Join Date
    04-09-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Lookup - values between 2 columns and bring back 3rd column data for all instances

    Thank you - both items were helpful

+ 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. multiple criteria lookup to bring back MAX date
    By AlexDNI167 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-05-2016, 10:26 AM
  2. SUMIFS to bring back data from a named rows and dated columns - Help!
    By seash in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-23-2015, 12:53 PM
  3. [SOLVED] Lookup to bring back first cell in the reference
    By 2136gamer in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 03-17-2015, 08:28 PM
  4. Array Formula Lookup - Bring back Lowest Date + Bring Back Cell Location
    By Matt1998 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-04-2014, 12:08 PM
  5. [SOLVED] 2 values to bring back 1 value
    By hughesy321 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-22-2013, 06:47 AM
  6. [SOLVED] Bring back a name in one column based on criteria in 2 other columns
    By BillDoor in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-22-2013, 08:07 AM
  7. Replies: 2
    Last Post: 05-15-2012, 10:46 PM

Tags for this Thread

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