+ Reply to Thread
Results 1 to 7 of 7

One step further on formula to eliminate duplicate records in array.

  1. #1
    Registered User
    Join Date
    03-07-2009
    Location
    Birmingham, Al USA
    MS-Off Ver
    Excel 2003
    Posts
    44

    One step further on formula to eliminate duplicate records in array.

    I got a formula from this forum to eliminate duplicate records in a array from 1 column in database. Now I would like to take it one step further and filter out records in the array that do not meet the criteria of being in a particular "Zone" selected by the user by clicking on a ComboBox from cell "AA18".

    The first formula is copied to cell "C7":
    Please Login or Register  to view this content.
    The next forumla is copied to cell "C8" and below:
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by harleypop; 03-31-2009 at 03:25 PM.

  2. #2
    Registered User
    Join Date
    03-07-2009
    Location
    Birmingham, Al USA
    MS-Off Ver
    Excel 2003
    Posts
    44

    Re: One step further on formula to eliminate duplicate records in array.

    Bump - Any suggestions?

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: One step further on formula to eliminate duplicate records in array.

    My suggestion... as I say a lot here (seemingly) avoid arrays as they are not efficient... they may seem elegant but they are not efficient.

    EDIT:
    Probably also worth mentioning that you could produce something very similar to your report using a Pivot Table and dispensing with formulae altogether
    (Zone & Types as Page Fields, Install Name as Row Field, Type Description & FY as Column Field with any field as Data Field set to COUNT)

    EDIT: 0852 UK time - attachment removed & replaced by attachment in latter post.
    Last edited by DonkeyOte; 03-31-2009 at 03:52 AM.

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: One step further on formula to eliminate duplicate records in array.

    Harleypop, disregard the prior attachment as it does not do what you want... I will post a revised version shortly.

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: One step further on formula to eliminate duplicate records in array.

    Revised below which (I think) does what you want - using helpers to negate need for arrays thereby aiding performance.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    03-07-2009
    Location
    Birmingham, Al USA
    MS-Off Ver
    Excel 2003
    Posts
    44

    Re: One step further on formula to eliminate duplicate records in array.

    Thanks DonkeyOte - I think that's it, I will apply to the real spreadsheet with about 3000 records and will close this post if it works for me.

    Thanks again you are a life saver.

  7. #7
    Registered User
    Join Date
    03-07-2009
    Location
    Birmingham, Al USA
    MS-Off Ver
    Excel 2003
    Posts
    44

    Re: One step further on formula to eliminate duplicate records in array.

    Thank you again, it works great. I wanted to stay away from Pivot Tables but yours is a good solution. My file is 2mg now but under the eMail server of 3mg.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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