+ Reply to Thread
Results 1 to 4 of 4

formula to extract data using small , index and match functions

  1. #1
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    formula to extract data using small , index and match functions

    I have a worksheet with a database sheet in which columns A represents a reference of an item .

    All data in database sheet have unique reference but there are some who have different reference coding from column G to X .

    My goal is to extract ONLY those who have different coding headers from G to X .

    Those with one reference should not extracted e.g row 7 and 20 as as there is only one reference in column G and H in database sheet

    Looking a formula to extract these on a sheet named data extract.

    Note the database of 10000 records .
    I think using small with index match may be approriate
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: formula to extract data using small , index and match functions

    A helper column:
    =SUMPRODUCT(IF(LEN(G2:X2)>0,1,0))

    and then an array formula in A2
    =IFERROR(INDEX(database!A:A,SMALL(IF(database!$Y$2:$Y$19>2,ROW(database!$Y$2:$Y$19)),ROWS(A$2:A2)))&"","")

    Both are array formulae.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    Re: formula to extract data using small , index and match functions

    Hello Glen

    Perfect worked as a charm .

    Thank you a lot for assistance

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: formula to extract data using small , index and match functions

    Hello
    Glad you got it sorted. I had to drop everything and dash out. No time to tell you where to put thw helper or reattach the file.

+ 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. [SOLVED] Index, small and row formula to extract all values
    By bjnockle in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-19-2017, 10:40 AM
  2. [SOLVED] Index, Match, Row, Small functions are properly not set in my formula
    By rajeshn_in in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-09-2016, 04:24 AM
  3. [SOLVED] Help Requested with Nested Small Function Inside Index/Match Formula
    By trandle in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-26-2015, 10:07 AM
  4. Excel Formula: IFERROR, INDEX, SMALL, MATCH
    By Jenn12788 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-12-2014, 10:03 PM
  5. [SOLVED] Formula using INDEX, SMALL, and ISERROR functions gives skewed results
    By rspells in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-09-2013, 03:32 AM
  6. Extract data from one sheet to another (Index/Match Formula)
    By pauldaddyadams in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-31-2013, 06:51 PM
  7. Large, Small, Index, Match formula combos
    By taudano in forum Excel General
    Replies: 2
    Last Post: 06-30-2011, 01:53 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