Comboboxes- Workbook For Sport Results

Oct 25, 2009

I’m trying to make a workbook for sport results.

What I want is a means of entering up to 12 results by date.

I’m thinking on the lines of :

12 combo boxes with the teams.

24 combo boxes to select the result.

A calendar to select the date of the match.

A command button to enter all the results to a separate workbook.

At this point I’m not even sure about doing this on a user form or with embed controls… I’d prefer the embed controls but then again I’m all but excel useless!

So if you can picture the following as controls you’ll hopefully have an idea of what I’m writing about!

Combobox for Team 1 Combobox for Score (1-10) V Combobox forTeam 2 Combobox for (Score 1-10)

Through to the last

Combobox for Team 23 Combobox for Score (1-10) V Combobox forTeam 24 Combobox for (Score 1-10)

1 x Calendar to select dates.

1 x Command button to enter the teams, result and date on to a separate worksheet.

View 9 Replies


ADVERTISEMENT

Results Of ComboBoxes Determine The Worksheet

Apr 11, 2007

I have two combo boxes which are named as AREA and BRANCHES. AREA makes me choose from Math, Science, History. The result of AREA populates BRANCHES. example: if I choose Math in AREA, BRANCHES will make me choose from Algebra, Calculus, Trigonometry.

Based from the choice made, all the data that I will put in my userform will go to the corresponding worksheet. example: if I choose Math in AREA and Algebra in BRANCHES, my data will go to a worksheet which has a name of MathAlgebra. If I choose Math in AREA and Calculus in BRANCHES, my data will go to a worksheet which has a name of MathCalulus

View 6 Replies View Related

Function For Sport Competition

Jan 27, 2009

I wanna know what is the function for the sport competition excel files, such as the EURO 2008 excel file.

Thw function I want to know is how to define winner of a match and the winner go to next round.

Maybe example like this:

Man Utd 1
Real Madrid 0

Juventus 2
Arsenal 3

In that when Man Utd and Arsenal won they automatically appear in the cell for next round and their cell with score is having bold properties.

View 4 Replies View Related

Booking Schedule For Sport Teams

Dec 1, 2007

I am creating an hourly schedule (for a calendar year) that shows rental space occupied by 4 different groups (baseball, softball, soccer and football). I have created worksheets for each group and am entering proper names. I want to be able to search the worksheets for ANY text and return a value to a master sheet based on the group they belong to. If the cell is empty I want it to remain empty in the master sheet. Example: Ed Jones is entered in sheet 1, cell a15, and will show as "Baseball" on the master sheet cell a15, Mary Smith is entered in sheet 2, cell b16, and will show as Softball on the master sheet, cell b16, etc. The sheets are divided out into sports fields that they can rent. Multiple sports can rent the same fields so it is important that my master sheet show who is renting the field that day so it can be set up properly and they don't get double booked.

View 5 Replies View Related

SPORT STATISTIC - How To Clear Contents In First Leg Of Cup Match Row

Mar 10, 2014

I want to write a Formula or Macro :

To clear Second Leg score in First Leg of Cup match

in Attached file, I explained detailed what to do. [URL]

if u need to know anything about Football,

View 2 Replies View Related

Sport Stop Watch With Laps And Total

Nov 8, 2009

I have seen many threads about the stop watch but have problem to figure out which one will be best for me. I would like to create the stopwatch in excel where I can time single athlete (unlimited number) and check their splits/laps as well to get their total time. I would like to be able to take as many splits I want it. I need this to work in seconds.

AthleteSplit 1Split 2Split 3 Split 4Split 7Split 8Split 9TotalMichalGreg

View 9 Replies View Related

Copy Filtered Results To Another Workbook

Oct 16, 2007

I have a large data set (from columns A - I, with over 10,000 rows) of information located on Sheet1 that I need to be able to go through to find the criteria (which is text and is located in column B) I'm looking for. I know how to write the VBA code to use Excel's AutoFilter option .... what I don't know is how can I can identify and copy the results the AutoFilter pulls up, from Sheet1 into another sheet because the data is on a number of different rows.

For example, I have to search column B three separate times for the following criteria:
1. xyz
2. acb
3. hij

this is what I have for the autofilter:

Range("A1:I1").AutoFilter Field:=3, Criteria1:="=xyz"

Today, I may find the "xyz" information on rows 6-150, 755-787, 1021, and 8524-8999, whereas tomorrow "xyz" may be on rows 51-101, 8547, and 9989-9991.

View 7 Replies View Related

Sheet Copy Results In New Workbook

Mar 19, 2008

I've got a bizarre problem here. I've been working on a piece of code and one line has started behaving erratically: Sheets("BLANK SCORE").Copy after:=Worksheets(Worksheets.Count)

I want to do is create a copy of the sheet called "BLANK SCORE" and copy it after the last sheet in the workbook. This code is part of a loop that runs a maximum of 10 times (potentially creating 10 copies) and I've had inconsistant results such as:

*) Code works and copied sheet is created (desired result)
*) Code is ignored and no copied sheet is created (shouldn't do that)
*) Sheet is copied to a new blank Workbook (...huh ?)

I've also tried changing:.........

View 2 Replies View Related

Excel Workbook - Calculate Number Of Different Results

Dec 20, 2013

I am building an excel workbook to calculate a number of different results and I am having trouble with one particular formula.

I need to enter in a formula that will return a value for the following:

ex. C21 = 10
C22 = 10
C23 = 10

C24 = IF CUMULATIVE SUM OF C21:C23 IS GREATER THAN 15 THEN START COUNTING AT 15 BUT INCLUDE THE FIRST 15

SO USING THE EXAMPLE ....IF C21:C23 = 30 THEN C24 SHOULD EQUAL 30. BUT IF C21:C23 WERE TO EQUAL 14 THEN C24 SHOULD EQUAL 0

View 3 Replies View Related

Merge Multi Workbook Results Into One Spreadsheet

Jul 27, 2007

I have several Excel files (20 at present) all with different filenames saved in a location:

U:MyWork

Within each workbook is one similar worksheet called "Pro", however there are different amounts of Worksheets called "Ser" on each Workbook.

On each of the Ser sheets are two cell ranges containing values (A1) Name and (B1) Value
eg

1st File
Location: U:My Work
FileName: 123.xls
Worksheet Names: Pro _Ser1_Ser2_Ser3
Ser1 (A1) value= dfd
Ser1 (B1) value=10
Ser2 (A1) value= dd
Ser2 (B1) value=9
Ser1 (A1) value= de
Ser1 (B1) value=11

2nd File
Location: U:My Work
FileName: 333.xls
Worksheet Names: Pro _Ser1
Ser1 (A1) value= db
Ser1 (B1) value=1

What I want is a master spreadsheet to 'suck up' data from all the Ser sheets within all Workbooks and populate the master spreadsheet with Column A =A1 Values from all the Workbook, Worksheets
Column B=B1 Values from all the Workbook, Worksheets

Output on Master Workbook will look like

Column A_____________________Column B

dfd___________________________10
dd____________________________9
de____________________________11
db____________________________1

View 9 Replies View Related

Copy VLOOKUP Results & Paste Into New Workbook

Jun 12, 2009

Is there to copy my vlookup results into another workbook?

I put together a marco that will select an range and paste it into a new document, however my vlookup results will not copy over.

Is there a way to extract my vlookup results and paste it into another workbook with the enclosed vba code?

Private Sub CommandButton1_Click()
'
' Macro2 Macro
' Macro recorded 4/24/2009
'
Columns("A:E").Select
Range("A2").Activate
Selection.Copy
Workbooks.Add

ActiveSheet.Paste
End Sub

View 9 Replies View Related

Search Workbook & Format Found Results

Oct 18, 2007

I was looking at this VBA code the other day and i was wandering what i meant. I thought if somone could expliane line by line,

Sub CommandButton1_Click()

Dim ThisAddress$, Found, FirstAddress
Dim Lost$, N&, NextSheet&
Dim CurrentArea As Range, SelectedRegion As Range
Dim Reply As VbMsgBoxResult
Dim FirstSheet As Worksheet
Dim Ws As Worksheet
Dim Wks As Worksheet
Dim Sht As Worksheet

View 6 Replies View Related

Saving Workbook On Shared Drive Results In Second Copy

Dec 4, 2007

When saving excel workbooks in our shared drive, a second copy of the workbook (with an unusual name) is being saved in addition to the original copy. Why would this happen?

View 7 Replies View Related

Macro To Push Results Of All Formula On Multiple Worksheets To Another Workbook

Mar 28, 2014

I inherited a price list workbook made up of multiple worksheets (some 30 pages). Each year the new prices (including % increase) are calculated by a formula in the row below each price (100's of rows and formulae).

Thus:
C1 might say £10
D1 says =C1+(C1*2.5%) £10.25 (it actually does some rounding too)
etc

It may seem odd having both rows but MD can see the before and after. The new price 10.25 must however be manually copied to C1 to avoid circular referencing and then D1 row hidden. Very laborious to repeat 100's of times.

Is there a way of first copying the entire workbook for the new year (easy) then by means of a macro looping through each formula cell of all sheets in workbook 1 and pushing the result to the new workbook and to the correct sheet and then to the same location but to the cell above. e.g. pushing £10.25 from D1 of sheet 1 workbook 1 to C1 of sheet 1 workbook 2 to become the new price for the coming year?

View 9 Replies View Related

Search Workbook For Cells That Meet Multiple Criteria And Return Results From Rows

Jun 28, 2013

I would like to perform a search on only the worksheets listed in a worksheet titled table of contents. I would like to use multiple criteria for this search and send only the unique results to a worksheet titled results. Each worksheet listed in the table of contents has a cell address for each heading that I would like to extract data from the same column. The attached workbook example shows the data that I would like to collect when I search for cells that begin with "AB" and cells that begin with "CD". I collected this data by copy and pasting all the data from each worksheet into the results page and then applying filters and advanced filter to remove duplicates. This method does not work well for the original workbook as the data is quite extensive.

Create_List.xlsx

View 4 Replies View Related

Using INI Files With Comboboxes

Jul 22, 2014

I'm thinking of writing a small tool to store user information on certain files.

The user data will be input by means of comboboxes on a userform.

Each combobox will need to contain a list of values previously used for that combobox. (I'm planning to use a separate ini file for each combobox)

All of the user data entered for a file will be saved into a single ini file.

Most of this is straightforward however I'm not good with comboboxes. And working this in with Ini files makes it harder!

I'm struggling with the following concepts:

SOLVED - How do to make a combobox populate with all the values from its ini file
SOLVED - How to identify if a selected value in any combobox is new (i.e. wasn't in the original list presented to the user)
SOLVED - (From above) How to write this new value to that comboboxes ini file (so it will appear in future lists for that combobox)
How to input two values from any given combobox
(From above) How to record two values for one field into the files ini file.

View 11 Replies View Related

Comboboxes 2 To List 500 & 225

Aug 27, 2009

i have a table on sheet1
A B C
(Names) (Total) (Status)
1. John 500 Active
2. Dave 200 Active
3. Andrew 175 Active
4. John 225 Active

On my userform there are 2 comboboxes. In combobox 1 I have Rowsource as Column A (Names), if I select John I want Combobox 2 to list 500 & 225.

View 5 Replies View Related

Tab Between Worksheet Comboboxes

Mar 1, 2008

I'm sure this must have been answered before but I cant find it, sorry.....

I have 12 comboboxes on a worksheet. They are normally filled out by typing the first 3 characters of one of the entries in the list they are populated with.

I.e. the list starts;

AAC - Al Arish - Egypt - HEAR
AAN - Al Ain - United Arab Emirates - OMAN
AAW - Abottabad - Pakistan -

The first 3 character are unique to each line.

I'd like to be able to enter the 3 characters in the first combobox & then tab to the 2nd combobox, etc, etc. No problem in a userform but how on earth do I do that when the comboboxes are on the worksheet?

View 9 Replies View Related

Two Comboboxes On A Userform

Jan 20, 2009

I have two comboboxes on a userform, they both get there list from the same formula. What I am trying to do is have the second combobox have it's selection preset based on the selection in combobox 1.

ie
Combobox1 = 6:00 AM
when you click on the dropdown for combobox2 i would like 6:00 AM to be the first selection possible, but I dont want it displayed in the box unless it is selected.

Dim timdat1(1 To 85)
For i = 1 To 85
timdat1(i) = Format(TimeSerial(5, (i + 1) * 15, 0) - Int(TimeSerial(5, (i + 1) * 15, 0)), "h:mm AM/PM")
Next i
combobox1.List = timdat1
combobox2.List = timdat1
i am at a loss for where to go from here

View 9 Replies View Related

ComboBoxes Collection?

Jun 20, 2006

I am using the following code to determine whether a given range is the linked cell for a Combo Box by looping through the shapes collection.

Function LocateFormControl(OverRange As Range) As Shape
Dim objTemp As Shape
For Each objTemp In OverRange.Parent.Shapes
If Left(objTemp.name, 6) = "Drop D" Then
If WorksheetFunction.Substitute(objTemp.ControlFormat.linkedcell, "$", "") = WorksheetFunction.Substitute(OverRange.Address, "$", "") Then
Set LocateFormControl = objTemp
Exit Function
End If
End If
Next
Set LocateFormControl = Nothing
End Function

However, when I use this code on big worksheets with many other shape objects (such as Comments), the program runs very slowly. Is there a ComboBoxes Collection that I could use to avoid looping through all shapes on the worksheet, or is there a different, faster way to run this code?

View 2 Replies View Related

Populate Comboboxes And Listboxes Using VBA

Apr 12, 2010

Looking for examples of the following:

1. population a combobox in excel vba using code as opposed from a sheet
2. population a listboxin excel vba using code as opposed from a sheet
3. population a combobox in excel vba using text from a file as opposed from a sheet
4. Getting the values from a combobox on a form to populate cells on a worksheet

These list boxes and comboboxes will be on a form.

View 6 Replies View Related

Using Indirect Function With Comboboxes

Apr 22, 2011

I totally understand how to make the combobox under form controls now but I am not having any success with the indirect function I was using as a list now that I have a combo box. I have attached the current form I am working on that just shows the list function still. How to convert this over to combo boxes with the indirect function?

I attached a second form with the feature I am asking about. It is just lacking the third list that I now have in place. (on the 1st attachment).

Attached Files

File Type: Corp MASTER (3).xlsx‎
File Type: Quote form (2).xlsx‎

View 8 Replies View Related

Populate 5 Comboboxes With Values 1 - 10

Mar 3, 2014

Within a userform, I want to populate five combo boxes and with the values of 1 - 10. I looked through several excel websites and found several solutions. However, I could not figure out how to adopt their solutions to my specific case.

My naming convention for the combo boxes are: cmboPeriod1, cmboPeriod2, ... , cmboPeriod5.

[Code].........

I know my with statement is incorrect. I know the compiler will automatically think 'cmboPeriod' is a variable. I just don't know how to get it 'cmboPeriod & j' to do what I really intend for it to do.

View 4 Replies View Related

Add Comboboxes On Userform At Run Time

May 7, 2009

I have a userform that has a text box. If user puts a number in it and click on proceed the userform must expand and display that many comboboxes. for e.g. if user inputs 8 and then click on proceed then there should be 8 comboboxes on the form. Is it possible to do?

View 4 Replies View Related

Disable Typing In ComboBoxes

Jun 10, 2009

How do I keep users from writing data into ComboBoxes on a UserForm?

View 4 Replies View Related

Multiple Comboboxes One Click

Nov 27, 2009

I have 2 comboboxes created on a userform.

This is my code for both of them

View 13 Replies View Related

ComboBoxes - Getting Data From Different Worksheet

Jul 6, 2012

In one worksheet I have a large amount of data (around 300 columns and 1000 rows), growing bigger each day. This worksheet is called "datas_pH" and consists of column A with different categories, column B with different subcategories, and then the rest of the columns with the pH data.

In a different worksheet (called "database") I have 2 comboboxes where you should be able to select the categories and subcategories. For example, in the first combobox if you select A you should only be able to view and select 1, 2, 3, 4, 5. If you select B you should only be able to select 6, 7, 8, 9, 10. (I believe it may be called cascading comboboxes or something along those lines?).

Anyway, here's a code that works perfectly if the comboboxes and data are in the same data sheet:

Combo Box 1:

Code:
Private Sub ComboBox1_Change() Dim d1 As Object

Set d1 = CreateObject("Scripting.Dictionary")
i = 2 ' start at row 2
x = 1

rowValue = Cells(i, 1) ' set rowValue to the value of the first cell (top data row)

[Code] .....

How do I modify these codes so it will pick up data in the other worksheet ("datas_pH"). Combo Box 1 should pick up data from cells datas_pH!a:a, and Combo Box 2 should pick up from cells datas_pH!b:

View 3 Replies View Related

Filling Comboboxes With Lists

Sep 10, 2012

I'm trying to fill some combo boxes on a userform with arrays stored as variant type (this is how I was told it's done). The problem is, I'm using exactly the same code in two subroutines and it works in one and not in the other. I have a button to reset the form and a subroutine that runs when the form is initialized. Here's the code for the reset button which works:

Code:
Private Sub Reset_Click()
App1Date = ""
App2Date = ""
App3Date = ""
App1Time.Clear
App2Time.Clear
App3Time.Clear

[code]....

At the moment I've got the 'Journeys' and 'TimeArray' declared as public variables for maximum scope, so that they can be used by both subroutines. But I've also tried declaring them localy in each subroutine and it still doesn't work! By using a breakpoint I can see that the line

Code:
carJourneysSaved.List = Journeys

is definitely running when I expect it to but the combo boxes remain blank unless I click reset!

View 1 Replies View Related

How To Link Two ComboBoxes Correctly

Sep 27, 2012

Linking two comboboxes. Actually My department consists of 4 divisions and each division contains 3 sections, that is beside Department manager staff and planning group.

In the attached workbook:

- Combobox1 contains All divisions, Department manager staff and planning group)
- Combobox2 contains all sections of the selected division in Combobox1.

What I want to do is the following:

In Combox1, I want to hide all records not related to the selected division.
In Combox1, I want to hide all records not related to the selected section.

Remarks:

I depend for filtering on the org. code for each division and section.

Fifth and Sixth digits of the first Division's Org. Code are 21

Fifth and Sixth digits of the second Division's Org. Code are 22

Fifth and Sixth digits of the third Division's Org. Code are 23

Fifth and Sixth digits of the third Division's Org. Code are 24

First section's org. code for each division ends with 11

Second Section's org. code for each division ends with 21

Third Section's org. code for each division ends with 31

I have created the following VBA codes to reach the said purposes, the first three ptions in Combobox1 work just fine, but the other options sometimes work fine and other times don't!

Moreover, Combobox 2 is not working at all:

Code:
Private Sub ComboBox1_Change()
On Error Resume Next
Application.ScreenUpdating = False
Select Case ComboBox1
Case Is = [AC4].Value

[Code] ........

View 1 Replies View Related

Dynamic Filtering Comboboxes?

Nov 28, 2012

I am having some difficulty trying to implement the following. Lets say I have a reference list

X 1
X 2
X 3
Y 4
Z 5
Z 6

I want to have two drop downs on my worksheet. One that filters by x,y,z and then based on the option i select there only give me the corresponding values in the second drop down.

Eg if i select X in my drop down I only want 1,2,3 as options in my second drop down. Or if I select Y only the value 4.

View 2 Replies View Related







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