+ Reply to Thread
Results 1 to 5 of 5

Problem with array pulling in duplicate data

  1. #1
    Registered User
    Join Date
    06-28-2018
    Location
    US
    MS-Off Ver
    2016
    Posts
    89

    Question Problem with array pulling in duplicate data

    So currently I am using the array below to pull in duplicates of data. It only works when I have the code in column E, the data # I am looking for in column D starting at row 4 and the pool of data I am pulling from in columns A and B starting at row 4. I have tried moving the array around and changing the numbers in the array for rows and columns. When I do that it either won't work or gives me incorrect data.

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,804

    Re: Problem with array pulling in duplicate data

    So, where do you want it to start?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Problem with array pulling in duplicate data

    Do you really need 600,000 elements in those ranges? An array formula will look at each cell in that range, so it is better to make the ranges as small as possible.

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    06-28-2018
    Location
    US
    MS-Off Ver
    2016
    Posts
    89

    Re: Problem with array pulling in duplicate data

    I just want to be able to move the array around so I am not always having to put the data in those exact places. And yes, I am sure I could reduce the number of rows.

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: Problem with array pulling in duplicate data

    Since you are using the 2016 version you could use AGGREGATE(15,6... in place of SMALL(IF... and not have to use Ctrl, Shift and Enter to confirm. I.E.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Using COLUMN(A:A) as the [k] argument to the AGGREGATE function will start you with the smallest row in which there is a match, then as you drag to the right the next cell's formula will read COLUMN(B:B) which yields the second smallest row number in which there is a match and so on.
    I might help us to help you if you could upload a small desensitized example of what you are attempting to accomplish. To upload a sample workbook click on the GO ADVANCED button below the Quick Reply window and then scroll down to Manage Attachments to open the upload window.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Replies: 4
    Last Post: 10-19-2017, 01:35 PM
  2. Pulling Information from a duplicate Table/Array
    By cdeguzman in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-08-2017, 04:36 PM
  3. Problem when find n largest in array that contains duplicate
    By vietdieu in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-20-2014, 04:17 PM
  4. Duplicate chart pulling data from different worksheet
    By simonc2 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-24-2013, 12:17 PM
  5. Need help pulling duplicate data to one worksheet
    By Collierlp in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-15-2013, 02:16 PM
  6. Pulling data with duplicate rankings
    By pinkpeace7 in forum Excel General
    Replies: 6
    Last Post: 11-20-2009, 10:03 PM
  7. [SOLVED] Pulling Data from an Array
    By Steve in forum Excel General
    Replies: 1
    Last Post: 11-18-2005, 06:25 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