+ Reply to Thread
Results 1 to 7 of 7

to extract the same four number but in different order from the same set of data

  1. #1
    Registered User
    Join Date
    12-22-2010
    Location
    Hong Kong
    MS-Off Ver
    2013
    Posts
    74

    to extract the same four number but in different order from the same set of data

    Hi

    How am i able to extract all number in different orders in a set of data? say if i click 1000 then, i am also able to see 0001,0010 and 0100 if available. & its number of occurence for the total of these numbers. The other info available is the date.

    Thanks
    Last edited by Harrold; 09-02-2011 at 11:32 AM.

  2. #2
    Registered User
    Join Date
    12-22-2010
    Location
    Hong Kong
    MS-Off Ver
    2013
    Posts
    74

    Re: to extract the same four number but in different order from the same set of data

    can someone please help?

    Thanks

  3. #3
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: to extract the same four number but in different order from the same set of data

    Ok, you might need to convert to text to keep your leading zeros. But try this, set out your data in A1:A4. In B1:B4 do = Rand() which will generate a 7 digit number between 0 and 1
    In C1:C1000, =Index(A$1:A$4,Large((B$1:B$4,randbetween(1,4)))

    That will simulate what ylu require, 1000 random generated clicks. Then copy and past values only with your C column and use the countif with your contents of celks A1:A4 as criteria.
    Windows 7 using Office 2007 & 2010

    Remember your [ code ] [ /code ] tags, makes reading soooo much easier

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,601

    Re: to extract the same four number but in different order from the same set of data

    Can you upload example workbook with your inputs and desired output?

  5. #5
    Registered User
    Join Date
    12-22-2010
    Location
    Hong Kong
    MS-Off Ver
    2013
    Posts
    74

    Re: to extract the same four number but in different order from the same set of data

    Hi

    Please find attached a copy of my data. Columns A to C are raw data while columns F & G are pivot table.

    What i would like to achieve is, the number of occurrence of the same numbers which also includes its permutation & combination eg in different orders. For examples, 3991 occured in 3rd September. I would like to find out whether the same number and its permutation & combination like 3919,3199,9391, etc to be shown also in other date and its number of occurrence.

    Thanks
    Attached Files Attached Files

  6. #6
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,601

    Re: to extract the same four number but in different order from the same set of data

    Is this what you want?
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-22-2010
    Location
    Hong Kong
    MS-Off Ver
    2013
    Posts
    74

    Re: to extract the same four number but in different order from the same set of data

    Hi Zbor,

    Thanks for your answer. After posting the thread and viewing your reply, i realise that my requirement is more complex than what i initially thought. As such, i posted the same question to Programming forum.

    http://www.excelforum.com/excel-prog...t-of-data.html

    Thanks again ;-)

+ 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