Ability to return a sub-list from a master list?

%3CLINGO-SUB%20id%3D%22lingo-sub-1802089%22%20slang%3D%22en-US%22%3EAbility%20to%20return%20a%20sub-list%20from%20a%20master%20list%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1802089%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20working%20with%20a%20master%20list%20that%20has%20about%20400%20rows%20of%20data.%26nbsp%3B%20The%20first%20column%20is%20an%208%20digit%20number.%3C%2FP%3E%3CP%3EThe%20first%205%20digits%20of%20the%20number%20define%20a%20product%20line.%26nbsp%3B%20The%20last%203%20digits%20identify%20a%20unique%20product.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20create%20a%20formula%2C%20that%20would%20allow%20someone%20to%20enter%20a%205%20digit%20product%20line%20code%2C%20and%20have%20it%20copy%20on%20a%20blank%20worksheet%20all%20of%20the%20unique%20products%20that%20are%20identified%20with%20that%20product%20line%3F%3C%2FP%3E%3CP%3EThere%20are%20about%206%20columns%20that%20have%20information%20regarding%20each%20unique%20product%20and%20the%20idea%20is%20to%20copy%20those%20columns%20to%20the%20new%20worksheet.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20this%20possible%3F%26nbsp%3B%20Can%20you%20point%20me%20in%20the%20right%20direction%20on%20what%20function%20to%20use%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEJ%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1802089%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1802166%22%20slang%3D%22en-US%22%3ERe%3A%20Ability%20to%20return%20a%20sub-list%20from%20a%20master%20list%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1802166%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F248307%22%20target%3D%22_blank%22%3E%40ECJ53%3C%2FA%3E%26nbsp%3BIf%20you%20are%20an%20MS365%20subscriber%2C%20your%20version%20of%20Excel%20might%20already%20recognise%20the%20FILTER%20function.%20If%20so%2C%20the%20attached%20workbook%20contains%20a%20working%20example%20of%20what%20I%20believe%20you%20are%20trying%20to%20achieve.%3C%2FP%3E%3CP%3EUsing%20a%20structured%20table%20for%20the%20Master%20list%2C%20to%20make%20the%20filtered%20range%20extend%20automatically%20when%20you%20include%20new%20items%20in%20the%20master%20list.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1802168%22%20slang%3D%22en-US%22%3ERe%3A%20Ability%20to%20return%20a%20sub-list%20from%20a%20master%20list%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1802168%22%20slang%3D%22en-US%22%3EYes%20is%20possible%2C%2C%20if%20you%20share%20some%20sample%20data%20or%20the%20workbook%20with%20us%20then%2C%20I'll%20show%20you%20that%20how%20could%20you%20achieve%20this%2C%2C!%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

I am working with a master list that has about 400 rows of data.  The first column is an 8 digit number.

The first 5 digits of the number define a product line.  The last 3 digits identify a unique product.

 

I am trying to create a formula, that would allow someone to enter a 5 digit product line code, and have it copy on a blank worksheet all of the unique products that are identified with that product line?

There are about 6 columns that have information regarding each unique product and the idea is to copy those columns to the new worksheet.

 

Is this possible?  Can you point me in the right direction on what function to use?

 

Thanks

 

EJ

 

3 Replies
Highlighted

@ECJ53 If you are an MS365 subscriber, your version of Excel might already recognise the FILTER function. If so, the attached workbook contains a working example of what I believe you are trying to achieve.

Using a structured table for the Master list, to make the filtered range extend automatically when you include new items in the master list.

Highlighted
Yes is possible,, if you share some sample data or the workbook with us then, I'll show you that how could you achieve this,,!
Highlighted

@ECJ53 

 

You need an Array (CSE) formula, fixes the issue, works on PARTIAL MATCH mechanism.

 

  • This formula works with all versions of Excel.
{=IFERROR(INDEX(Sheet1!$A$2:$C$13, SMALL(IF(ISNUMBER(FIND($A$2, Sheet1!$A$2:$A$13)), MATCH(ROW(Sheet1!$A$2:$C$13), ROW(Sheet1!$A$2:$C$13)), ""), ROWS($A$1:A1)), COLUMNS($A$1:A1)), "")}

 

  • Enter this formula in sheet2 cell C2, finish with Ctrl+Shift+Enter and fill across.
  • As soon you update cell A2 with new value, formula works accordingly.
  • Check the attached sheet.