+ Reply to Thread
Results 1 to 3 of 3

Thread: dynamic data list

  1. #1
    Registered User
    Join Date
    09-04-2010
    Location
    ottawa
    MS-Off Ver
    Excel 2003
    Posts
    4

    dynamic data list

    Hi All,

    I am new to the forum and not sure if anybody is able to help me with this.

    I have data in column A and wanted to create a dynamic list that includes latest unique 12 numbers in x number of cells starting at A1 and rolling down to end of the column A.. The oldest unique number will be removed from list.

    for example, there are 12 unique numbers (1-12) in the list Q between A1 and A20, then rolling down to A21, if the number in A21 is unique (let say 13), then it will be added to the list Q (2-13), the first unique number 1 will be removed from the list

    what function should I use? any tips

    thank you for the help in advance!

    Stock
    Last edited by NBVC; 09-04-2010 at 07:29 PM.

  2. #2
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: dynamic data list

    Have it so your first entry is in A2, so that in B2 you can enter formula:

    =IF(COUNTIF(A$2:A2,A2)=1,COUNT(B$1:B1)+1,"")

    copied down. This is to identify the unique values.

    Then in results column:

    =IF(ROWS($A$1:$A1)>MAX(B:B),"",INDEX(A:A,MATCH(LARGE(B:B,ROWS($A$1:$A1)),B:B)))

    copied down 12 rows.
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Registered User
    Join Date
    09-04-2010
    Location
    ottawa
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: dynamic data list

    Hi NVBC,

    thanks for the reply.. I see it now.. never mind
    thanks again

    Stock
    Last edited by NBVC; 09-04-2010 at 07:29 PM.

+ 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.2.0