Formula For Several Hundred People With Several Hundred Choices

Jun 25, 2008

I'm trying to write a formula for the following simple situation. Eventually I will need to use this formula for several hundred people with several hundred choices.

Like I said, this is a simplified example that I will eventually need to expand out to hundreds of people. Lets say I have 5 people, we will call them #1, #2, etc to #5 and I have 5 cars, red, blue, black etc. Person #1 gets his first choice, person number 2 gets second choice etc. But if person #2's first choice is the same as person #1's, obviously he can't have that choice and must go to his second choice. Some people may not have a preference and won't get assigned any color.

View 10 Replies


ADVERTISEMENT

One Hundred Back To 100

Sep 26, 2008

I found a way (on this board) to spell out numbers...I.E.: 140 = "One Hundred Forty" .

But is there a way to convert "One Hundred Forty" to 140 and format as a number or general or pretty much anything but text? I thought would be as easy as Cell Format > Number

View 9 Replies View Related

Custom Number Format (hundred-thousands, Millions)

May 22, 2009

I have a giant sheet that culminates in a graph. It is for various regions. When used in a country with in-control currency, you end up with a nice healthy number that looks good on the graph. When our Zimbabwe office uses it with their crazy inflation and high prices, we get a crazy number that goes into scientific notation...

Anyway, my question:

Given a number like 4,200,000 or 6,500 or 345,123, I want to be able to show as few trailing numbers as possible, and give a nice K or B or D or however you abbreviate Quadrillion (kM? for Zimbabwe) after it.

And, if possible, I'd like to do it with number formats, but I am flexible so long as it doesn't use VBA.

The lookup table would be:

Sheet1  AB1<1,000As is21,000K31,000,000Mil.41,000,000,000Bil.5>1,000,000,000,000Tril. Excel tables to the web >> Excel Jeanie HTML 4

All numbers have 2 significant digits, and I want to keep 2, so if it ends up as 4,200,000, I want the answer to read 4.2 Mil, etc.

I tried doing this with a lookup, and couldn't handle it.

View 9 Replies View Related

Spreadsheet For A Couple Hundred Rows Of Data And 6 Columns

Jan 4, 2010

I have a spreadsheet for a couple hundred rows of data, and 6 columns. The fifth column contains a date. What I need to figure out is this:for every 3 rows of data, if the date diffes in column 5 (E), highlight this row and the previous 2 rows

Currently, I've been doing this all manually, row by row - needless to say, it takes me a few hours or depending on how much other work I need to do, a few days.

View 9 Replies View Related

Copy The Block Of Formulas And Formats Down The Sheet A Few Hundred Times

Aug 27, 2009

In my spreadsheet, I have approx. 300 'blocks' of data, one for each 'vendor'. I am tracking 5 stats for each vendor for 12 months. Each 'block' has 5 formulas WITH conditional formatting (only one condition used) for each month, so each 'block' has 60 individual cells with conditional formatting. Excel throws an error when I try to copy the block of formulas and formats down the sheet a few hundred times. I have figured out it isn't the formulas that is the problem. It must be some kind of limit Excel 2003 has for how many cells in a workbook can have conditional formatting.

View 9 Replies View Related

Multiple Choices For Sum Formula??

Apr 24, 2007

I am trying to calculate phone call rates based on several different conditions. *if my phone call has a "DESCRIPTION" of "Local" then I want to add 2 cents onto the "COST" *if my phone call has a DESCRIPTION of "Mobile" then I want to use the formula = SUM(G7*24*60)*0.4+0.1 to calculate the charges *if my phone call has a "DESCRIPTION" of "13 Number" then I want to add 5 cents onto the "COST" I am able to use a formula that allows 2 condition but I have been unable to work out a formula where I can add more conditions.
I have attached a spreadsheet

View 2 Replies View Related

Showing All Choices On Dynamic Chart Using Lookup Formula

Jul 28, 2014

I've created a simple dynamic chart using a combination of data validation and an index match match formula. Every time the user makes a choice the chart updates with the right info. However is there a way to create a choice where the user can show *all* the choices at once on the chart ?

Dummy.xlsx

View 3 Replies View Related

Formula To Search Between Dates And Times To See If People Present

Apr 11, 2013

I need a formula that will search between dates and time to identify if the person will be present at the conference breakfasts, lunches and dinners.

Therefore the cell needs to look if the current date falls within the arrival and departure date and also if the time within eating times falls outside the arrival and departure times.

View 1 Replies View Related

Select Only One From Five Choices

Jul 24, 2007

I'm trying to find a way to make the user select only one of five columns in a row. What I’m trying to get is a ranking of 1 to 5. The user will click a cell and it will fill in or the user puts an X in it. In row 8 I want to select A through E but only one of them. If the user changes their mind and clicks another cell, the first cell clears.

View 9 Replies View Related

Top Five Choices - Choosing Rooms

Jun 18, 2014

I am trying to assign rooms to tenants. I would like to set up a function that reads a tenant's top 5 choices for a room, and looks up a column to see if the choice has already been selected before moving to the next choice. Then if all 5 choices have already been selected, the cell reads error.

This is how it would look : Excel Pic.jpg

View 3 Replies View Related

Allow Multiple Option Choices

Jan 23, 2008

When I try to insert an 'option' box in which either a check box or radio button are used, only one option can be used. For each option I have to create a new option. But then, each option can be selected, which defeats my purpose. I want to create an option box where there are two option in the box, but the user can only select one of the options, not both, or neither.

View 2 Replies View Related

Allow Multiple ListBox Choices

Jan 24, 2008

There is any way to select two item one from listbox1 and anotherr from listbox2 and paste on sheet

View 9 Replies View Related

Multiple Option Button Choices VBA

Apr 4, 2013

I am working on a grading sheet for our company. I would like users to choose from an option button choice (A, B, C, D, F) for each grading category and I would like to write that to a sheet that corresponds with the graded person. The form will have next and previous buttons to move through the grading process - when previous is chosen I would like the option buttons to populate what was stored in the data sheet. I think I can mottle thru the code individually but with 60 option buttons it may take quite some time.

Can I call an option button choice by "Group"? I started coding individually, but it will take a lot of code - surely there is a more efficient answer. A picture of my form is attached at the bottom of this post.

VB:
Private Sub OptionButton1_Click()Dim Grade As String
If Me.OptionButton1 = "A" Then
Grade = "A"
Else
Grade = ""
End If

untitled.jpg

View 9 Replies View Related

Combine 2 Columns With 3 Choices Into 1 Column?

Feb 18, 2014

I have 2 columns "H" and "I" from line 6 to 409. Each cell may start with AR , MA or a number. If cell H6 starts with AR I would like to put that cell into B6. If H6 does not have AR then I would like to check I6 for AR, and put that into B6 if it's found. If I don't find AR in either I would check them both for MA, and write the cell that finds MA into B6. If the AR or MA are not found then I would want it left blank. I did try

IF(FIND("AR",$H7,1),$H7,IF(FIND("AR",$I7,1),$I7,IF(FIND("MA",$H7,1),$H7,IF(FIND("MA",$I7,1),$I7," ")))) in B7.

View 6 Replies View Related

Drop Down Lists Show Various Choices

Jan 19, 2010

I can create a drop list show various choices, is it possible to have the list of choice but also for the user to input text not in the list.

So if you had a list of names andrew, brian, chris and then not in the list you could write david ?

View 5 Replies View Related

Generate Choices With Assigned Probability?

Nov 10, 2013

Lets say I have 20 cells. I want to randomly assign a label to the each cell from 5 choices, like "Blue", "Orange", "White", "Green", and "Black". But I want to assign a probability of selecting the labels. So the percent probability of choosing Blue would be 56% and White would be 23%, etc. . . is there a function that allows me to do this?

View 5 Replies View Related

List Boxes Not Displaying Choices

Feb 19, 2009

I'm very new to the VB experience and am having trouble getting the choices in my list boxes to show up.

View 6 Replies View Related

Trigger Actions For Three Choices In A Macro

Dec 30, 2009

I have a series of macros altering various workbooks and sheets. They're numbered Step1, Step2, etc. In my Step5 I have a series of Case statements in a macro, and I don't know how to get it to do what I want next. I have NOT tried running this code yet, and I'm sure I have something(s) wrong in it.

1) If the selection in DstWbk, sheet "Steps", is "01DSP" through "11DSP" the macro needs to delete specific columns in the SrcWbk, and then move to the next step (6).

2) If the selection in DstWbk, sheet "Steps", is "*DSP" the macro needs to go directly to the next step (6)

3) If the selection in DstWbk, sheet "Steps", is anything else the macro needs to flash a generic "No Data found" message and move on to Step7.

The part of the code that's throwing me begins at 'Select only the specific regional data' and ends at the "Case Else MsgBox"

View 3 Replies View Related

How To Organize Survey Data That Has 2 Choices

Nov 17, 2013

I did a survey of what kind of clothes people like to wear and why. So there are two things that people have to write down. ex) jeans and cus they're comfortable / shirts and cus they look good

The data that I received was organized as followed

I just put in random things just so you can get the idea of whats what

Id
jeans
shirts
cardigans

[Code].....

Okay so what I want to know is how I can get the responses from the data spreadsheet I showed you before into this organized data table above.

View 3 Replies View Related

Automatic Selection Of Choices On Screen?

Dec 12, 2013

I am writing a simple application that allows users to enter an item ID and execute a find. If the data is found, the UserForm populates with the pertinent data for the requested ID otherwise a message indicates Item not on file. The file being interrogated is an Excel workbook with multiple functions, unrelated to my task.

The problem: When my application opens the workbook to perform the Find, the screen displays a message generated by Excel, informing the user that the workbook contains links to other data sources and requesting to choose to either Update or Don't Update those links.

I used the Application.DisplayAlerts=False line but it has no effect on above. The choice I always make is Don't Update and the macro continues to the end without further ados.

Is there a way to either cancel such a screen request or automatically select a given option?

View 2 Replies View Related

Dropdown Selection Box With Multiple Choices?

Dec 19, 2013

I am trying to create a simple order entry worksheet. In cell M1 I need a dropdown box that lets the user select which options go on the product. You can have multiple options. The list of options is contained in column A of the Options worksheet. Depending on which options are selected, I want to put a 1 in column B of the Options worksheet. how to do this or have a sample workbook that I can look at.

View 1 Replies View Related

To Create Custom Msgbox Choices

May 7, 2009

I am trying to create a msgprompt but instead of using the default yes or no, I need 3 options, so if the user clicks the first option, it will check a certain box. It will look like this.

"What envelopes do we use?

Choice 1. Branded Choice 2. Unbranded Choice 3. Client Branded

View 9 Replies View Related

Deleting People's Second Name

Sep 16, 2009

In column G of my excel 2003 worksheet named: Data, I have a list of people's first names. These names were extracted from an external database.

Some of the first names actually contain peoples second names or partner's names.

Example:

John & Jill
James and Sue
Kerrie-Anne

Joanna Lyn

I need a macro to please delete people's second name.

So in the example above I need to keep all names that are joined by: & or and or - (such as John & Jill, James and Sue, Kerrie-Anne).

Also, in the example above I need to delete all names that are joined by a <space> (such as Joanna Lyn).

View 11 Replies View Related

My Macro Won't Run For Other People

Feb 10, 2010

It runs fine for me, but when others (who are using Excel 2003) try to run it, it won't fire. The second macro entitled "Delete Foothill" runs fine though. "Run Foothill won't fire.

Sub Run_Foothill()
Sheets("Foothill Plaza (Weekly Call)").Unprotect Password:="Foothill"
'
' Run_Foothill Macro
'
'
Sheets("OC").Select
Range("B37:C44").Select
Selection.Copy
Sheets("Foothill Plaza (Weekly Call)").Select
Range("B4").Select
ActiveSheet.Paste
Range("A12").Select
Application.CutCopyMode = False
Selection.Borders(xlDiagonalDown).LineStyle = xlNone
Selection.Borders(xlDiagonalUp).LineStyle = xlNone
Selection.Borders(xlEdgeLeft).LineStyle = xlNone
With Selection.Borders(xlEdgeTop)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlMedium
End With

View 9 Replies View Related

Dropdown List With Text Choices With Hidden Value?

Apr 24, 2013

I created a dropdown menu, that asks you make a choice from a list.

"Under 5"
"Between 5 and 10"
"Over 10"

However I want to connect the choice to a certain number and use it for a formula. For example:

"Under 5" is equal to 1
"Between 5 and 10" is equal to 2
"Over 10" is equal to 3

So if I make a formula to multiply the cell that says Under 5, excel to understand it is actually the digit 1.

View 3 Replies View Related

Making The Same Drop Down Box Display Different Sets Of Choices

Jun 24, 2008

I am making a program that needs some macro but I don't know much about it. There are a couple of things I am trying to accomplish and I'm supposing it would be easier to let you look at the actual program so I uploaded it.

In the drop down boxes in column C there are trucking companies listed. Each trucking company has different trucks with different numbers that pull different numbered trailers. When I select say, "T & L" from list c8 I need the lists in that row E8 & G8 to display only the information related to that trucking company and no others (as opposed to every trailer number and truck number on the lists in row 100). Only T&L drives a truck with the number 08 pulling a trailer with the number 564, etc. I need the same thing to happen for the truck list E8. When a particular truck is selected the lists in g8 narrow to the numbers of the trailers that that truck have pulled in before. So e8 (truck number 88) makes g8 list trailers 8855 and 8445 because that driver only pulls those trailers.

If you can kindly help me with that macro to work for a sheets in the workbook that would help a lot. The only thing is it's useless unless the program can learn new trucking company names with their respective trailers and trucks (we get new ones sometimes). I created the "ADD" sheet to be able to add new trucks, trailers, carriers (companies) and employees. If c8 doesn't have say "t&L" trucking company in it I can go to the add tab and type into cell a4 the carrier, d4 trailer number, g4 truck number, etc. I need that information to add itself to my list on the "page 1" tab into the orange colored list a100:a200 while the trailer goes to e100 and truck c100. The above paragraphs macro would then be able to sort the data in the list when a carrier is selected.

View 9 Replies View Related

Send All MultiSelect Listbox Choices To Sheet

Feb 19, 2007

i have this code to populate the worksheet from listbox selections, but it only works on a 'one at a time' basis.

Private sub cb1_click()
Dim i As Integer
Dim Ltm As String

With ListBox1
For i = 0 To .ListCount - 1
If .Selected(i) = True Then
If Ltm = "" Then
Ltm = .List(i)
Else
Ltm = Ltm & ", " & .List(i)
End If
End If
Next i
End With

With ActiveSheet
.Range("B" & .Rows.Count).End(xlUp). _
Offset(1, 0).Value = Ltm
End With
For i = 0 To ListBox1.ListCount - 1
ListBox1.Selected(i) = False
Next

what i am trying to do is once i have checked several items in the listbox is have all of the checked choices fill iin column B at once.

View 9 Replies View Related

Select Choices In List Box To Move To Another Worksheet

Jun 6, 2006

I have multiple choices in a list box. I wish to know how do i link each choices in the list box to another worksheet so when clicked it goes to the worksheet specified.

View 3 Replies View Related

Fill Cell With MultiSelect ListBox Choices

Nov 20, 2006

I refer to the following article from last year, with a similar question.
Multiple Selections Drop down list to one cell.

I would like to be able to choose multiple values from a list box and print them into one cell (or at least print them anywhere).

For example: I have a list with products A, B, C, D, E, F
Those products are shown in the list box. If e.g. B, D and E are chosen, I would like to have this selection shown together in another cell. That means the content of the cell should be "B, D, E".

If I use the INDEX function (which works fine for single select list boxes), only one of the selected items is displayed in the cell and not even the one I selected.

View 3 Replies View Related

Populate Cells From Multiple ListBox Choices

May 22, 2008

I am having a problem with some code I am trying to work with. My problem is that I need to source information which is selected on a userform in 3 list boxes and copy this information into the excel sheet behind on the same row.

View 2 Replies View Related







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