+ Reply to Thread
Results 1 to 7 of 7

Discrepancy in dynamic formula for unique records amendment required in formula

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

    Lightbulb Discrepancy in dynamic formula for unique records amendment required in formula

    Hi

    Just obtained formula on this forum for dymamic unique records formula but on real data , it is not giving expected results.
    In making unique records in column K, L and M with auto filter records are not matching with formula in column E ,F and G
    Can anyone help:

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Discrepancy in dynamic formula for unique records amendment required in formula

    Can you explain what you mean when you say you used autofilter to obtain the results in columns K:M.

    Clearly whatever you have done has not resulted in unique records.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

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

    Re: Discrepancy in dynamic formula for unique records amendment required in formula

    For columns K, L and M,I used advanced filter for unique records based on column A, B C,

    Formula used on column E ,F and G, but is not giving expected results for unique records when compared with advanced filter unique records as precaution to ensure it is workings correctly.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Discrepancy in dynamic formula for unique records amendment required in formula

    The reason I asked is because I don't understand how you produced the K:M list by using Autofilter on A:C.
    In any case Autofilter as far as I'm aware does not have an option to list unique items hence I'm trying to understand the steps you took to produce the list in K:M. It's neither a unique list nor a complete list.

    And I disagree. The formulae in E:G ARE giving you a unique list of H codes.

    If you are wanting a unique list of the Hcode, Description and Origin combined then you need to create a helper column which concatenates A,B & C cells and then use the helper column to filter a unique list using either your formula or a Data ADVANCED (not Auto) filter whereby you can specify UNIQUE.

    I think you may need to define what YOU mean constitutes a UNIQUE item.

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Discrepancy in dynamic formula for unique records amendment required in formula

    I understand what you mean. The combination of all three columns constituting 1 record must be unique.
    If you concatenate columns A B and C in column D and use the following to extract the unique concatenated values. This will give a list of unique values.
    I entered this ARRAY formula (enter with Ctrl + Shift + Enter) in Q6 and filled down. (I left 4 blank rows to be used with the Advanced Filter for comparison)
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I then entered this formula in K6 and filled across and down to extract the unique records from columns A to C
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This gives identical records as retrieved by the Advanced Filter Unique records.
    I think that the enclosed file should be self explanatory.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

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

    Re: Discrepancy in dynamic formula for unique records amendment required in formula

    Now it is working.

    Thank you for your understandings as It is clear now that concatenating is the best method to suit my needs despite previous formula was good but produce unexpected results

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Discrepancy in dynamic formula for unique records amendment required in formula

    Thank you for the feedback.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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] count frequency - formula amendment required
    By Nubian in forum Excel General
    Replies: 10
    Last Post: 12-18-2015, 12:22 PM
  2. Replies: 6
    Last Post: 11-17-2015, 10:03 AM
  3. Need an array formula to find unique records, but don't know how to do it
    By alchavar in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-22-2013, 02:43 PM
  4. [SOLVED] Formula required to return 2 latest records in a date range
    By Backroomgeeza in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 10-23-2012, 05:53 AM
  5. Formula required to count number of records
    By robertguy in forum Excel General
    Replies: 9
    Last Post: 08-16-2012, 05:38 PM
  6. Replies: 3
    Last Post: 11-05-2009, 10:17 AM
  7. [SOLVED] Extracting unique records by formula
    By Peter in forum Excel General
    Replies: 7
    Last Post: 09-22-2005, 07:05 PM

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