Results 1 to 10 of 11

Thread: Get Combination Of Unique Values From N Columns Using Rand Or RandBetween Function

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member
    Join Date
    Nov 2012
    Posts
    33
    Rep Power
    0
    The only thing that came through was a page (SHEET 2) of numbers, with "=RAND()" as the ONLY formula in each cell. Sorry, but nothing about it makes sense.

  2. #2
    Member p45cal's Avatar
    Join Date
    Oct 2013
    Posts
    94
    Rep Power
    13
    Quote Originally Posted by papabill View Post
    The only thing that came through was a page (SHEET 2) of numbers, with "=RAND()" as the ONLY formula in each cell. Sorry, but nothing about it makes sense.
    You should look more closely.

    Yes, RANK is a better solution, so you could change the formulae in my offering:
    C17:
    =INDEX(A$3:A$12,RANK(M3,M$3:M$12))

    D17:
    =INDEX(C$3:C$12,RANK(N3,N$3:N$12))

    E17:
    =INDEX(E$3:E$12,RANK(O3,O$3:O$12))

    F17:
    =INDEX(G$3:G$12,RANK(P3,P$3:P$12))

    then copy them down to fill 10 rows; much simpler than my:
    =INDEX($A$3:$A$12,MATCH(LARGE(M$3:M$12,ROW()-ROW($C$16)),M$3:M$12,0))

Similar Threads

  1. Replies: 3
    Last Post: 07-29-2013, 09:15 AM
  2. Move data from rows into columns for every unique value
    By mahmoud-lee in forum Excel Help
    Replies: 4
    Last Post: 06-13-2013, 03:02 AM
  3. List Unique Values Using Formula
    By LalitPandey87 in forum Excel Help
    Replies: 5
    Last Post: 01-09-2012, 08:39 PM
  4. Replies: 2
    Last Post: 01-07-2012, 12:11 AM
  5. Lookup Multi-Column For Unique String Combination For Numeric Value Output
    By Excel Fox in forum Excel and VBA Tips and Tricks
    Replies: 0
    Last Post: 07-03-2011, 07:23 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •