+ Reply to Thread
Results 1 to 4 of 4

To avoid duplication of data extraction in array formula

  1. #1
    Registered User
    Join Date
    07-29-2015
    Location
    Selangor, Malaysia
    MS-Off Ver
    2010
    Posts
    4

    To avoid duplication of data extraction in array formula

    I actually try to do a worksheet which able to help me to track the customer and also the stock inventory in daily basis

    however when i try to make a summary list, it seems that i do not know how to avoid duplication of data extraction from the master list

    Capture.PNG


    i hope the uploaded picture and the excel file can explain better than myself

    hope that someone can help me

    thanks
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: To avoid duplication of data extraction in array formula

    Hi,

    You can use an INDEX MATCH COUNTIF to produce your list, as shown on this website:

    http://stackoverflow.com/questions/1...alues-in-excel

    Personally I like to use a Dynamic Named range with something like this. It will automatically adjust to the number of lines of data to capture all of your list.

    Info can be found here:

    http://www.excel-easy.com/examples/d...med-range.html

    In the attached version of your file I created a Dynamic Named range and used it in the new formula to produce the list you are looking for.
    The formula is an array formula which needs to be entered with a SHIFT CTRL ENTER.
    The "PeopleList" is the named range.

    Please Login or Register  to view this content.
    Hope this is helpful.

    Cheers
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-29-2015
    Location
    Selangor, Malaysia
    MS-Off Ver
    2010
    Posts
    4

    Re: To avoid duplication of data extraction in array formula

    Thanks
    This thing is really help me
    totally solve my problem....

    but i wondering why your input formula is totally different than me

    yours is

    =IFERROR(INDEX(PeopleList,MATCH(0,COUNTIF($A$3:A3,PeopleList),0)),"")

    mine is

    =IFERROR(INDEX(STOCK!B$2:B$2000,SMALL(IF(STOCK!$A$2:$A$2000=CLOSING!$A$3,ROW(STOCK!B$2:B$2000)-ROW(STOCK!B$2)+1),ROWS(STOCK!B$2:B2))),"")

    how come mine is so difficult and complicated compare to yours

    (I actually use this formula because i get it from other websites)

    :

  4. #4
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: To avoid duplication of data extraction in array formula

    In trying to figure out how to explain the difference between your formula and the one I came up with I discovered a mistake I made.
    I neglected to take into account that you wanted your list to only be unique for the date that is in A3.

    Here is the corrected formula:

    Please Login or Register  to view this content.
    It is using an additional Named Range for the dates on the STOCK sheet: "DateList".

    The difference between our formulas is the COUNTIF. It looks at the entries above in order to not duplicate an entry.

    Hope this is helpful.

    Cheers
    Attached Files Attached Files

+ 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. Need flexible matching tool that will avoid duplication
    By FlipFlan in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-30-2015, 12:33 PM
  2. [SOLVED] IF(ISNA similar formula to avoid duplication lookup formulas.
    By SystematicSyntax in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-30-2014, 03:06 AM
  3. Data extraction from two dimensional array
    By Suzerain in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-02-2014, 02:32 AM
  4. Avoid Duplication in Column with Matching
    By atif574 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-17-2014, 06:59 AM
  5. [SOLVED] Check existing data before copying in new data to avoid duplication
    By lordterrin in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-06-2013, 02:15 PM
  6. Multiple Userforms - Avoid code duplication
    By peter.thompson in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-28-2006, 11:25 PM
  7. [SOLVED] avoid duplication in a column in excel
    By S.G.Pillai in forum Excel General
    Replies: 1
    Last Post: 07-24-2006, 10:00 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