+ Reply to Thread
Results 1 to 4 of 4

Get random value from list based on 1 criterion

  1. #1
    Registered User
    Join Date
    03-05-2021
    Location
    NE
    MS-Off Ver
    365
    Posts
    10

    Get random value from list based on 1 criterion

    I have one table with 2 columns:
    1) # column
    2) Item column

    I would like to have a cell where I enter a number that references the Number column (above) and then picks a random value from the corresponding Item column. I played with Index and Rand() but can't seem to figure it out.

    Any help is appreciated, sample workbook attached.
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Get random value from list based on 1 criterion

    This works at my end.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  3. #3
    Registered User
    Join Date
    03-05-2021
    Location
    NE
    MS-Off Ver
    365
    Posts
    10

    Re: Get random value from list based on 1 criterion

    Quote Originally Posted by FlameRetired View Post
    This works at my end.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thank you !

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Get random value from list based on 1 criterion

    You are welcome. Glad to help.
    Thank you for the feedback, added rep and marking your thread Solved.

+ 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. adding time based on criterion from the list
    By aemarie in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-23-2019, 10:35 AM
  2. Find value based on item number (first criterion) and date (second criterion)
    By ivan.stajin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-19-2014, 10:47 AM
  3. Macro that uses a button to create a list based on a criterion
    By rdg296 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2014, 04:27 PM
  4. this is a hard one... Extracting info from raw data based on list of criterion
    By xcelnoob77 in forum Excel Formulas & Functions
    Replies: 28
    Last Post: 04-07-2014, 04:12 AM
  5. Replies: 2
    Last Post: 05-17-2012, 06:33 AM
  6. Input form with criterion-based selection list
    By TPFKAS in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-27-2009, 05:05 PM
  7. [SOLVED] excel random sample with criterion
    By gilgamesh2006 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-01-2006, 08:00 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