Choose Unique Names From List At Random

Aug 16, 2008

I need to set up a formula to choose 2 job titles from a single column. There can be 2 to n job titles (non-repeating) and I want to find the title at random. I have no problem finding the first job title using index and randbetween, but I want the second title to meet the same criteria, just not equal to the first job title.

View 3 Replies


ADVERTISEMENT

Unique Random Non-repeating Names From List

Feb 19, 2007

I have a formula-generated defined list of names. I need to select them in random order without duplication and without choosing any blanks in the list.

View 6 Replies View Related

If Function: Names To Choose From A Drop Down List In Collumn E

Dec 16, 2008

I have a workbook with the twelve months of the year as seperat worksheets. a thirteenth worksheet is a "total" page. I have three different names to choose from a drop down list in collumn E. I need a formula that will say something like, "if JanuaryE4 = John Doe, total page A1= January A1" Is this possible?

View 5 Replies View Related

Create A List Of Unique Names From A List Of Multiple Names

Oct 21, 2009

I have a database output file where one of the columns contains managers names, often more than once. I want to apply an autofilter on manager name and then copy the result to another sheet or sheets. My criteria for the autofilter is a variable pointing to a list of names that at present I maintain by hand; a for-each-next loop then cycles through the names.

What I would like to do, before running the autofilter code, is to create the list of names via code. This would then automatically pickup names that are missing.

The code I have so far is below:

Public Sub find_managers()
Dim managers1 As Range
Dim names1 As Range
Dim n1 As Variant
Dim n2 As Variant

In my mind it should check the names in the unique list against the imported list and add any missing names.

View 9 Replies View Related

Relating List Of Random Numbers To A List Of Names To Create Rota

Nov 21, 2013

I'm trying to create a staff rota which will populate a rota randomly when prompted - I have been trying to find some way of connecting the random lists and the staff names, though this has proved difficult (to say the least!). How best to proceed? I'm also fully aware of the possibility that my present design will also double book people (place then on reception and telephone duty simultaneously).

View 3 Replies View Related

Pulling Random Names From A List

Jan 12, 2007

On my excel spreadsheet, I have a list of 14 names in column A (row 1-14).

In a separate cell, I'd like for it to pull a random name from that list. How would I go about doing that?

View 9 Replies View Related

VBA Code To Random Pair List Of Names

Oct 23, 2013

I want to create a simple worksheet that takes a list of names (All of the members of my family) and Randomly selects another name from that same list and matches them to it ( I don't want to say "paired" because I want each person to have a one way relationship to the other, in other words just because personA is matched to personB, i don't want personB to automatically be paired to personA) I hope that makes sense. Once every name on the list is matched with a person I would like to move that name to a database that I can track each year. The practical application of it is this: Each year our family randomly draws names and we are tasked to buy a new x-mas ornimate for that person, ideally you would not get the same person 2 years in a row, and the person that you have does not have you in return simply to add more variety and the database would track who had who each year.

Code:
Sub test()
Dim a, i As Long, temp, n As Long
a = Range("b2", Range("b" & Rows.Count).End(xlUp))
Randomize
With CreateObject("System.Collections.SortedList")
For i = 1 To UBound(a, 1)

[Code] ......

View 1 Replies View Related

List Unique Names

Oct 24, 2008

I have a column of names in Column D

I need code to list these names in column G

when I hit a button.

View 9 Replies View Related

Formula To Look Down A List And Pull Out Unique Names Only?

Jun 4, 2014

I have a list of names in column A these names repeat themselves a lot and I don't know how many there are.

now I want to make a list of the names in column c starting at C2 that looks down row A finds names and puts them in column C one after the other.

View 3 Replies View Related

List Of Data :: Unique City Names

Jul 16, 2008

I have list of various city names in column B. From that i need unique city names in validation cell.

The reason is,

we have emp id, name, designation, area, marital status for our employees. From that if i select emp id from validation cell1 i have to get all employee id's available in the sheet1 is need to come under the validation2 cell automatically. and if i select "area" from validation cell1, all unique areas need to be list out in the validation cell2. Its look likes a filter. but without filter i need this for creating application.

View 9 Replies View Related

Identifying Unique Names In A List And Copying To Next Collumn

Jul 30, 2009


If I have a list in Collumn A such as:

1
1
2
2
3
4
5
5
6
6

Is there a simply excel function I can use so that in collumn B I return only the unique results. That is, collumn B will look like this

1
2
3
4
5
6

????

View 9 Replies View Related

Pivot Table Layout - Generate List Of Unique Names And Their Associated Phone Numbers

Mar 18, 2013

I've read a lot of tutorials on how to use pivot tables, but found them either too basic, or too advanced, and never finding any example of what I am looking to do.

I have a database, column A holds names, and column B their phone numbers. I'd like to generate a list of unique names and their associated telephone numbers. I figure I can use a pivot table to do this.

But I do not quite understand how to format the pivot table to put the name in one column and the phone number in the next. I will use this pivot table as a vlookup range. I assume I can do this.

View 7 Replies View Related

Choose Random Number Out Of Numbers If They Are In One Cell Separated By Coma

Mar 22, 2009

I am curious can we chose random number out of numbers if they are in one cell separated by coma

Example:
*A111, 12, 14, 18, 19

Is there any formula so Random number can be selected from cell A1

View 9 Replies View Related

Random Names Generator

Feb 12, 2008

I like to know if this can be done using vb.

If I have a list of names of associates B2 to B32. Can I randomize the list in any order.

Then if I need to want that list to only randomize B2 to thru B30
Then if I need to want that list to only randomize B2 to thru B28

And so forth.

Sort of being able to pick from a pop up message box or userform that will ask you how many names to randomize in that list.

View 9 Replies View Related

Generate Unique Random Numbers

Oct 7, 2005

I want to generate numbers (1 to 15) in cells A1 through O1, but the
number in each cells should be unique compare to the other cells, how
can I do it? If I use =randbetween(1,15), I can not get unique number
in each cell, some numbers are duplicated.

View 11 Replies View Related

Unique Random Samples - No Duplicates

Sep 4, 2012

I have data table

A3:D103

Column A are unique serial numbers
Column B, C, D contains test values.

F1= 50 (No Of unique random samples to be pulled - No Duplicates)

The out put range for sample data starts from F3:I3

View 5 Replies View Related

Create Unique Random Numbers

Feb 19, 2008

I have 12 Cells, years 1 to 12. I want to create a random number for each cell, which then depending on what the number is, either 1-75 being 8,000,000 or 76-100 being 10,500,000, place it in the cell and be able copy it down. What i have done already you can see on the attached workbook, or the table i used:


I used this table to generate the random number to give either 8m or 10.5m, except i put the VLOOKUP in the year 1 cell, added some dollars signs and copied down but that only makes them all the same, so i want a way to make each year have its own random number preferably without making 10 tables.

View 3 Replies View Related

Choose A Value From A Drop-down List

Mar 17, 2007

I have 8 values in a drop-down list that I've created with excel " Validation" function. Each one of these values changes my data in the sheet. I'm trying to set up a macro that will choose each one of these values and print out the sheet when each new value is chosen.

View 3 Replies View Related

Filling Sheet With Unique Random Numbers

Jun 27, 2009

I need a macros to fill 2000 rows with unique random numbers from 1 to 19 in B2:T2001 area. Every row like this

14 11 12 7 18 13 19 5 6 16 9 4 8 15 1 3 10 2 17
Actually it's about random positions in rows for numbers from 1 to 19.

View 3 Replies View Related

Add Letters To Unique Random Number Macro

Mar 31, 2014

Is it possible to add letters to this "Unique random number" generator it is very fast and takes only 5s to run on 50,000 rows, I have a different "Unique random Sequence generator" macro but it takes about 30 minutes to run on 50,000 rows

Code:

Sub generateuniquerandom()
Dim b() As Boolean, e As Range, k&, x&
Dim lRow As Long
With Sheets(1)
lRow = .Range("F" & .Rows.Count).End(xlUp).Row

[Code]...

View 3 Replies View Related

How Do You Create A Unique Random Number W/o Duplicates

Feb 5, 2008

I'm needing to generate a unique random value for a database with 3546 cases. The unique random values cannot be duplicates of each other. I tried the =RANDLOTTO function that I learned of in an old post on this board, but that results in "#NAME?" appearing in the first cell. I tried to install the Add-Ins (both the Analysis ToolPak and the Analysis ToolPak - VBA, but nothing seems to happen. Is there another way to generate these numbers?

View 9 Replies View Related

How To Compare List Of 1000 Names To List Of 59k Names

Jul 31, 2014

I need to compare two lists of client names. One list has 59k names to be compared to second list of 1000 names.
The list of 59k are listed in column D and the other list is in Column E. I tried conditional formatting but unfortunately some of the names are slightly different I.e. fair point communications vs fair point communications inc. I was trying to put in v lookup with a trim function but it didn't seem to be working.

View 1 Replies View Related

How To Generate Random Numbers In Range 1:20 With Unique Results

Mar 22, 2014

In an earlier life I was tasked with finding a "random" method of selecting two numbers from a "1 to 20" range so that the generated numbers can be applied to an set of people who will be partnered in a golf game draw.

It is only one draw per year so I don't care if the players have previously played together in past years.

easily be modified by a "passable knowledge level" person to be able to select a mystery "9" out of 18 holes that count for scores that particular round.

(btw: this is an issue only for the 20 guys who go away once a year to play golf, the world will not collapse if I have to draw numbers out of a hat, just looking for a slightly more elegant solution and I already have a few scoring macros so my first guess (but not only possibility) is VBA)

View 8 Replies View Related

Allow User To Choose From List Of Open Windows?

Mar 27, 2009

I have a few macros that need to work with various worksheets which are in different windows.

1. Make the user name the files a certain way for consistency
2. Make the user type the name of each window at the start of execution

I was wondering if there was a more flexible option though: one which would allow the user to choose from a list of open windows (similar to the Window>More Windows>Activate function in Excel).

Ideally the macro would run and say something like, "Which of the following open windows contains dataset1?" "Which of the following open windows contains dataset2?"

View 2 Replies View Related

Drop Downs Which Would Allow To Choose From A List Of Vendors

May 19, 2009

I have a sheet in a work book which will act as the "Purchase Order" sheet. I would like to have the sheet include a drop down which would allow me to choose from a list of vendors which would print on the purchase order.

View 3 Replies View Related

Create Dropdown That Will List All Names Starting With Initial Letter Of Names?

Jan 13, 2014

I have a long customer listing, names 5 to 36 characters and several with their location in the name as well as a few common duplicate names. I am trying to produce sheet where the customers name once selected opens in the customers spreadsheet and data can be added/amended for sales etc.The lists are not in alphabetical order as when created a customer number is automatically allocated. My aim is just to type in the first letter of the name and the dropdown appears the customer is selected and their card appears. I have tried data validation, lookup, vlookup, Dropdown and Match/find. they only return the first record found and no sign of any others. Find returned all instances of the letter appearing in every name.

View 9 Replies View Related

Can Create Data Validation List Of Names Created In Name Box Or Sheet Tab Names

May 7, 2012

Can I create data validation list of the names created in the name box or of the sheet tab names?

View 5 Replies View Related

VBA To Choose The Source Cells For A List With Data Validation

Mar 10, 2008

when you choose Data Validation for a specific cell, you can choose list. Once you have chosen list for "Allow", you can select the source cells for what will be in the drop-down menu. I want to be able to use VBA (or just use Excel) to modify those source cells.

For example:

There will be 3 lists with drop-down menus using Data Validation.

List 1:
Choose first option in list -> List 2 uses source A
Choose second option in list -> List 2 uses Source B
etc...

List 2:
Choose first option in list -> List 3 uses source C
Choose second option in list -> List 3 uses source D

View 11 Replies View Related

Make A List Of Selections For User To Choose From In My Combo Box?

Jan 8, 2008

How do I make a list of selections for user to choose from in my combo box?

View 9 Replies View Related

Drop Down List, Choose Option, Different Description Appears

May 3, 2007

is it possible to do the following with a drop down list, without requiring VBA? I would like to have 20 products to choose from in a drop down box. When the user selects one of the products, a more detailed product description will appear in the same cell where the drop down list is. For ex: If the user chose "chair" from the drop down list, what I would like to appear in the same cell is "chair - model T654".

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved