Creating Randomized Lists Based On Criteria

Sep 24, 2013

I have a long list of names in column A, and in Column B next to each name is one of 10 group identifiers (Advertising, Marketing, Finance, etc). I'd like to divide the 300 names into groups of four people, with none of the four people having the same group identifiers. So, groups of four people that look like:

Column A Column B
Amanda Jones Marketing
Shelly Stevens Finance
John Banana Advertising
Tim Stewart Logistics

What is the best way to do this?

View 2 Replies


ADVERTISEMENT

Creating Lists Based On Category

Mar 6, 2009

The goal here is for users of this form to enter the "type" of tool and automatically create a list of tools based on the "type" in another sheet (NEW SHEET). See the heading on that sheet in the file for more info.

Also, keep in mind that this would be a template (.xlt) for 2003 and all the sheets would be individually locked -- password protected.

Since this form will be filled in by folks that aren't very computer savvy in general, I'm trying to make this as simple/automatic as possible. I myself have a limited toolbox as well. I'm not entirely sure a program would be needed (IF statements in the cells?)

View 3 Replies View Related

Creating Lists Based On Values In A Table

Feb 16, 2014

I am trying to create an array formula that would list all the corresponding rows that contain a certain value.

Here is an example workbook to illustrate what I'm trying to accomplish:

Book1.xlsx

I need to create a list/table that would show all the row labels that correspond to a value. For example, I need to make a list of all cells with a value of 1 under the "Green" column and list the row label(s) that correspond to 1.

Creating the list would result in following return values for "Green": A,C,E,F in separate rows.

I've been using [URL] ..... as a guide but the formulas did not return a corresponding row label. Pivot tables did not accomplish this either.

Is it possible to do without using an array formula?

View 6 Replies View Related

Macro To Compare 2 Lists Based On Multiple Criteria Using SUMPRODUCT?

Feb 27, 2014

I want to compare 2 lists in separate sheets based on multiple criteria and delete the duplicates

Sheet 1 - new list in column A:E
Sheet 2 - old list in columns B:F

So here is what I need: the macro should generate single IDs made of Sheet 1 Ai,Bi,Ci,Di,Ei cells for each row i to the end of the list + generate single IDs made of Sheet 2 Bi,Ci,Di,Fi

If . Evaluate (Sumproduct (IDs made of Ai,Bi,Ci,Di,Ei from sheet1) & Sumproduct IDs made of Bi,Ci,Di,Ei,Fi from sheet2) >1 then delete the entire row in Sheet 2.

This will leave me with only updated items (rows) in Sheet 2

View 1 Replies View Related

Lock/Unlock Cells Based On Criteria From Validation Lists

Apr 24, 2008

I'm looking for a solution to a problem and from what I've read in the forums so far, this is the place to come. I first want to say that I have tried to solve the problem by using guidance from other similar threads and adapt those answers to my needs, but as my understanding of VBA is non-existent this was somewhat difficult. I don't want to post a repeat question and I hate wasting people's time if unnecessary, but I can't do this on my own.

That being said, here is the problem;

(I have attached a simplified copy of the worksheet I am working on for reference)

I would like to lock a particular cell in my spreadsheet based upon the selections made from two drop down validation lists (Cells “C4” & “D4”)

Essentially, if a correct choice is made in both, then the cell “E4” becomes unlocked for editing. If however, the correct selection is made in one list, but not the other, I need the cell “E4” to remain locked and a message to appear to prompt the user to correct their mistake.

Furthermore, both the validation lists have a whole range of selections that are very similar but have subtle differences;

E.g.

"Soft Eye by Talurit"
"Soft Eye by Splice"

Is it possible to write a VBA code that performs a similar function to the =IF(ISNUMBER(SEARCH("**",))) formula, so that if any choice that contains the word "Soft" is selected from either or both lists then the cell “E4” becomes unlocked, but if the selection does not contain that word then the cell remains locked?

If anyone could provide a code to make this happen, I would be very grateful! But please explain how to do this, as the word “Soft” won’t be the only parameter and I may need to alter the code so I need to understand the principle behind it; For example, on the spreadsheet, if in the ‘Inboard End’ list a ‘Soft Eye’ is selected and on the ‘Outboard End List’ a ‘Soft Eye’ is selected then cell E4 is unlocked for editing. If in the ‘Inboard End’ list a ‘Soft Eye’ is selected and on the ‘Outboard End List’ a ‘Fused and Tapered’ is selected then cell E4 is unlocked for editing, but if in the ‘Inboard End’ list a ‘Soft Eye’ is selected and on the ‘Outboard End List’ a ‘Standard Eye’ is selected then cell E4 remains locked and an error message appears to alert the user that his/her choices are incorrect. If however, "Soft" is not selected in either list then cell E4 remains locked (it has to be selected in at least one of the two lists to allow editing).

This is a work in progress (not all the formulas that will eventually be used have been entered yet, so please excuse the untidiness of it all) and the choices are likely to change based on input from my colleagues, so I need to understand how the VBA works in order to alter it accordingly, but I don’t want to put any more work into this (it’s still in the early stages) if it isn’t possible to achieve these needs.

View 9 Replies View Related

Creating A Summary Based On Criteria

Apr 20, 2007

I am trying to create a summary of values based on some criteria. Here it goes, I have a list of number under a column ex 6299, 6399, 6118, 6124, 6411. I would like to create a summary table that would add all of the values associated with 6100's, 6200's etc... that are in an adjacent column. Ex. A1 is 6124 b1 is 100.00. I have tried different ways to use sumif, dsum and if but i am missing the part where the formula sees the column where the number is located then figures out if they are 6100, 6200 and so forth so it can then determine whether to add the adjacent column value. I woulld like for it to be one formula instead of two.

View 11 Replies View Related

Creating Report Based On Criteria

Jun 20, 2006

I have the following worksheet (see attached). What I would like to do with it to create a report is as follows:

1. Create separate reports for each estimator (KM, JW, WH)
2. Carry over the information in Columns I, A, B & H
3. Each report will filter column I to leave out COMPLETED and just report the number of days remaining is ascending order.
4. Flag data if the days remaining is <=5
5. Generate an email to send out notification of 5 days remaining
6. New report can be generated on any given day

View 9 Replies View Related

Creating An Array Of Data Based On Certain Criteria

Jan 22, 2009

[Sheet] .....

I have the above sheet, what i need to do is pull all records to a seperate sheet. The records need to be between the start and end dates and have no full reply. Please help. I am using excel verion 2003.

View 11 Replies View Related

Randomized Rows Based On Percentage Of Total Rows

Mar 26, 2014

I have medium size sets of data. They have different properties including alpha, integer, date, etc..

I would like to set up a macro to search through the data dump based on criteria asked of me specific to a row and return a random list of entire rows that is approximately 10% of total rows where the criteria matches up with what I have specified.

Site
Building
Room
Tag

100-Emerson Court
A
A101
SS102058

[code].....

So if I choose the site to be "100-Emerson_Court" and there are 400 rows with "100-Emerson_Court" in column A, in a separate sheet called "audit", it will transpose a random 10% or 40 of the rows.

View 14 Replies View Related

Creating Lists Dependent On Each Other

Jul 29, 2006

how to do this and I just can't seem to figure it out...I've come close, but something always seems to be incorrect when I try to do it.

So what I have is 5 column sheet (please see the attached file).
What I would like to do is have the 1st column (Main Folder) be a drop down list and have the other 4 columns dependent on the 1st.

So for example, if I choose Business Hierarchy then in the Subfolder, Subfolder2 there should be nothing shown and under the Attribute column, there should be:

ALL
BUSINESS SEGMENT
REGION
AREA
OPERATING MARKET
COMPANY
MASTER COMMUNITY
COMMUNITY

shown to the user.

Or if I were to pick Unit from the Main Folder, then in Subfolder Unit, Unit Options, Unit Budgets, Dates, etc. should be shown while in Subfolder2 the items for Corresponding to Dates should be shown.

Currently the description box is blank, but will be needed to correspond just with the pertinent main folder selection as well.

Please let me know if you guys have any suggestions, I greatly appreciate. I'm still learning how to do this kind of stuff, so please forgive me again for having trouble with this.

I also understand that if I were to cluster the information in the Attributes column into single cells such as:

ALL
BUSINESS SEGMENT
REGION
AREA
OPERATING MARKET
COMPANY
MASTER COMMUNITY
COMMUNITY

into one cell, then it is very simple, but I do need the seperation between cells due to the description column.

View 9 Replies View Related

Creating Summarized Product Lists?

Jan 28, 2013

I need a way to create summarized product lists from a large list of product.

Each product in the "full" list has the following rows: Product No., Name, Price, Quantity, Total.

I need the rows to copy to "sheet 2" when the total and/or quantity go above zero.

So on the new sheet I would end up with a list of products we need rather than having a whole sheet of all the products where the ones we need are mixed amongst the ones we don't.

View 9 Replies View Related

Creating Dependent Lists On First List?

Dec 4, 2013

I have been having alot of trouble and have read alot. I can't seem to figure out the problem. I am currently working on an excel sheet that will select a name from the first drop down list. Based on that name five other list will be generated just on the first selection.

View 3 Replies View Related

Creating Dependent Dropdown Lists?

Sep 23, 2011

I am trying to get a listbox I created in from DataValidation to be dependent on another list.

For example, when I select Course 1 (a list item) from the Course List drop-down, I want the cost to auotmatically populate in the Cost drop-down (the other list).

How do I get this to happen? Here is the code I created in VB, and I am not sure if this is the right course of action:

Sub Automated()
Sheet1.Cells(2, 1) = "MATLAB"
If (Sheet1.Cells(2, 1) = "MATLAB") Then
Sheet1.Cells(2, 3) = "31"
End If
Sheet1.Cells(2, 1) = "INCA"
If (Sheet1.Cells(2, 1) = "INCA") Then
Sheet1.Cells(2, 3) = "41"
End If

[code]....

I don't want to use the user form, however from VB. I want to use the regular drop-down. The code seems to work, but, each list item in the drop-down is not pulling the data I want it to. I need to activate the drop-down as a click event somehow. It's just recognizing the cell A2 as a whole and not the individual list items. I want to each list item to be their own object, and to automatically populate the cell C2 with their cost when they are selected.

View 3 Replies View Related

Creating Drop Down Lists With Same Multiple Items

Apr 6, 2007

Looking to create a drop down list on the top of a column that will find all entries with that numerical value. For example, lets say I have four entries with the value 1234 spread out through the columns. When I click the drop down menu, it should only have 1234 once and when I click it, it shows me all the rows with that entry.

View 2 Replies View Related

Creating Relationships Lists From Data Tables Within MS Excel?

Mar 22, 2013

how to do this, but I know it can be done.... I want to use one drop down list created via the Data Validation 'List' Criteria to then lookup data based on the selection made in this list...... this will require a number of reiterations to get to the final result......

So:

Drop Down No:

1. List: Department Function:

2. List: Sub Function List Based on Selection from 1.

3. List: Job Code, Title and Pay Grade based on Selection from step 2

how to ensure that we are able to minimise the overall workbook size due to the complexity that is required here as this is just the basics.... this will need to applicable further once this basic requirement has been fulfilled.

View 9 Replies View Related

Create Randomized Password?

Nov 17, 2013

excel solution to creating a random password.

It has to have 8 characters. There can be any combination of letters and numbers. The ratio of numbers to letters can be randomised as well.

View 5 Replies View Related

Creating A Validation List, Referencing Other Lists, Remove Dups

Jun 25, 2006

I tried using several of the formulas and VBA codes from other posts, but they just didn't work out quite right. And since I'm worthless at VBA coding, my changes either did nothing, ruined the code entirely, or blew up my computer : D . The attached doc should explain everything.

View 9 Replies View Related

Creating Horizontal Summary Table From Consecutive Vertical Data Lists?

Jul 17, 2014

I have consecutive vertical lists that each have a different number of instances and I'm trying to create a horizontal summary. Here is an example:

Vertical lists:
Mary
red 2
blue 11
John
yellow 5
red 7
blue 8
Susan
red 9
green 3

Desired Summary table:
Mary John Susan
yellow 5
red 2 7
blue 11 8
green 3

Is there a way to do this using a pivot table or formulas, instead of manually?

View 3 Replies View Related

Creating Cascading Data Validation Lists / Comboboxes Without Named Ranges?

Jul 28, 2014

Is there a way to add cascading lists (from data validation or form/activex controls) to my excel spreadsheet WITHOUT using named ranges? Maybe structured references?

I need to avoid the named ranges because it will cause my workbook to have duplicate named range titles which I cannot avoid.

As a general example my issue arises because I have something like this where the titles are the same but they map to slightly different data. These also have to be cascading because the titles align to another list which I do not show in the example. I also considered using pivot tables, but the issue there is that the data validation lists repeat in the same worksheet. So I would have 3 cascading lists in row1 dependent on each other, but the same 3 lists in row2 dependent on row2 but not the previous row.

[Code] .....

View 3 Replies View Related

Excel 2010 :: Creating Multiple / Repeatable Lists Of Random Numbers

May 19, 2014

I am trying to create challenge/response cards. Each card will have a 5-digit number in the upper-left and lower-right corner along with a series of rows containing a line number and 3 pairs of challenge/response words.

Rather than have have copies of these cards, I want the central office to have a macro-enabled workbook wherein they can enter the two numbers from the card and have the challenge/response matrix regenerate on a worksheet.

So, essentially, I want the challenges random number generator seeded from one of the 5-digit numbers and the responses random number generator seeded from the other 5-digit number.

I am trying to use

Code:
Randomize(Seed)
where Seed is one of the 5-digit numbers.

The problem appears to be that, no matter what I use for Seed, the RND(-1) function is not resulting in different numbers.

I am using Excel 2007 and Excel 2010.

View 1 Replies View Related

To Create An Auto Bingo Game For My Kids Which Randomized The 5 By 5 Grid

Dec 8, 2006

I was trying to create an autobingo game for my kids which randomized the 5 by 5 grid. To do that I did combined a Randbetween and VLOOKUP to a table on a separate sheet which had the name of the object (i.e. "cow") in column 2 and a picture in column 3. Well, the VLookup will return the name of the object but won't return the pictures. Is there a way to get those embedded objects to move into my autobingo form? I'm thinking this requires a Visual basic macro.

View 14 Replies View Related

Looking At Criteria In One Column And Creating List That Fit That Criteria

Aug 25, 2014

I can't seem to get this to work the way I need it to do. Let's say I have a 2 sheet workbook. Sheet1 is called "Order" and Sheet2 is called "005". On sheet2 (005) I have 9 columns that are populated. Row 1 is my header row and then row 2+ is all my figures. On sheet 1 (order) I want A1 to look at sheet2 (005) in F1:F10000 to find all cells that have "N" in the cell. I then want it to return value in column A that corresponds with the "N". I want it to list all the ones from Sheet2 (005).

Sheet 1 (order)
A
052611
052806
052843

Sheet 2 (005)
__A_____B____C_____D_____E____ F
052611_________________________N
154272_________________________Y
125485_________________________Y
052806_________________________N
125478_________________________N
052843_________________________N

how I can write is in a formula?

View 7 Replies View Related

Identify Matches Between 2 Lists Using Criteria

Oct 12, 2009

the attached workbook. Am trying to write a formula in Column F, which returns the results shown in Column H. Hope the workbook clearly sets out the criteria I'm trying to apply to the Lookup.

View 2 Replies View Related

Vlookup Multiple Criteria On Two Lists

May 5, 2007

I have a workbook with two sheets

sheet1(Invoices) is the master and sheet2 (GR) contains information that i need to put onto sheet1.

I need a formula that will allow me to lookup sheet2 based on the criteria from 3 columns on sheet1... (PO no, Part No, Qty)

At the moment I am using 3 different vlookups to achieve what I need

If there are records on sheet2 which matches sheet1 then I would like to have the word MATCH if there is a match and CHECK if there is not?

View 9 Replies View Related

Dropdown Lists Based On Formula?

Mar 11, 2014

In worksheet 1 I have a list of employee numbers (column A) and and names (Column B)and in worksheet 2 I have a list of employee numbers (column A) and their payroll contracts (Column B). 1 employee can have multiple contracts).

What I'm trying to achieve in workshet 1 is to have a dropdown list ( Column C) which returns just the contracts that relate to the employee number in column A.

View 7 Replies View Related

Fill Down Based On Another Lists Final Value

Jul 13, 2007

I run a report of varying length that generates times. I need to take the final time from 'Column J' and make that the final value for 'Column U'. 'Column J' has a varying number of entries and the times are not equally spaced out. In 'Column U' I want to go from the start time (which I have referenced from J:2) to the final value in 'Column J' and include every minute in between. Then I need to take the new list of every minute from 'Column U' and make it the x-axis of a bar chart.

View 2 Replies View Related

Add & Remove Data Based On 2 Lists

Dec 12, 2007

I'm hoping to achieve the result in the image below.

Column A contains data, column B contains values to be added to column A and column C contains values to be removed from column A. Using formulas or macros, how can I present the result in column D?

View 9 Replies View Related

Creating Formula To Lookup Rate Using Ranges And Other Criteria?

Mar 26, 2013

I need to know if its possible, and if it is, what the formula would be to get the correct "Rate" to pull based on the criteria given:

User would input the following information:

Zip Code: 56559
Pallets: 3
Weight: 1200

The formula needs to use the following table to use the criteria listed above, to fine the correct "Rate". The "Zip Code" and "Weight" both need to fall between the correct ranges and then match the "Pallet" to find the correct "Rate".

From Zip Code
To Zip Code
Pallets
Weight From
Weight To

[Code]......

View 1 Replies View Related

Populating A List Based On Four Toher Lists

Oct 3, 2008

I have Columns A:D with a heading at the top. the user can then type organisation names under the correct column. There is a maximum of 30 entries (rows 2:32).

Problem One:
Column E is a hidden column and I need cells E2 and downwards to be a list which gets populated by ALL the organisation names inserted into $A$2:$D$32. I don't want there to be any blank cells until the last entry in column E (if that makes sense). how to populate this list?

Problem Two:
At another part of the worksheet, I have five cell where the user has to select from a list. The five cells correspond to the lists in columns A:E. Is there any way to avoid having blank options in a list using data validation (say if the user has not entered 30 organisations into one of the columns)?

View 5 Replies View Related

How To Join 2 Lists Based On Case Sensitive ID

Jan 17, 2014

I've 2 lists that contain similar info but 1 of the lists holds info I need to join.

I've a unique case sensitive id that I'd like to use to join the lists.

I usually use VLOOKUP but it is case insensitive and I cannot understand how to make it case sensitive.

The 2 lists are in 2 separate worksheets as they each hold a lot of data.

View 3 Replies View Related







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