Displaying Message Box For Top Scores In Football Pool
Dec 6, 2009
I have a football pool I am doing with my family. I would like a macro that displays a message box that tells me the leaders of the pool using the grand total number. So in my attachment, the message box would say something like:
Sue is in first place with 12 points,
Bob and Dave are in second place with 9 points,
Larry is in third place with 3 points
It doesn't need to be exactly like that, but you get the gist of what I am looking for. The catch here is that the grand total row changes each week as I add games in, so the row moves down every week. I need the macro to stay with the grand total row from week to week.
View 4 Replies
ADVERTISEMENT
Jan 11, 2009
http://www.excelforum.com/excel-gene...cognition.html
and im copying and pasting data from a website ( football scores )
and when i get what should be 1-1 it returns 01-jan and this i dont want
i have tried formatting all cells to text beforehand but that makes no difference and i cant put an apostrophe before each one as that would take ages
wondered if anyone could work out some syntax to use as a macro button?
claymation had a go but it doesnt work.
View 14 Replies
View Related
Mar 26, 2014
I have some code which i would like to search a range of cells to see if a value is already used in this range. if it finds the value it will return a message box saying 'value found' and exit the sub, but when it doesn't find the value it will run extra code using "else" function. The code does what i want it to do, but it still returns the msgbox even if the the code in the "else" section runs.
View 2 Replies
View Related
Mar 2, 2009
I may be misunderstanding the point of error.type() command. I'm wanting an error message to appear once a cell goes below 0. So far, I've only managed to have the error message appear all the time, or never.
View 4 Replies
View Related
Apr 30, 2009
I have a range (A5:DG5). Some of these cells are empty, some are populated.
I would like to display a vbYesNo box that shows the value of each populated cell on a different line, with no gaps for non-populated cells.
View 9 Replies
View Related
Apr 26, 2006
My worksheet looks like this: column A - ID, B - Group #, C - data. When data has been entered for all the IDs in a group I would like a message box to appear stating end of group #.
View 4 Replies
View Related
Jul 19, 2013
want a way to find out any special character in text file (.txt).
The .txt file I use is very large about 100 mb to 1GB. I need to find a way to write vba code that asks for input text file and the validates it and gives the message that following special characters are present in the file. Also, it gives their column number and row no's, where they are located.
The characters which needs not treated as special characters are numbers (0-9), alpha (A-Z) and special characters (@,-,%,$,+,=).
View 2 Replies
View Related
May 27, 2014
I am using Windows 7 and have a piece of code that brings up a warning message after 20 minutes to warn the user they have been in a workbook for too long.
If they have the Excel application window minimized, is there a way to get Excel to take the application out of minimized mode into max screen, before revealing the message.
Currently when the warning message activates, the excel icon just flashes in the start bar. Some users may not see this.
Here is the code I have so far:
[Code] ....
I have already tried simply adding a piece of code with maximize screen, however this doesn't seem to work.
View 2 Replies
View Related
Aug 17, 2009
There are scores in B1:B10 (10 scores). I want to take the top 8 scores. So I used this formula which works just fine.
=SUM(LARGE(B1:B10,1),LARGE(B1:B10,2),LARGE(B1:B10,3),LARGE(B1:B10,4),LARGE(B1:B10,5),LARGE(B1:B10,6) ,LARGE(B1:B10,7),LARGE(B1:B10,8))
But I'm trying to make the formula a bit more dynamic. Is there anyway to have a set of data in B1:B50 (50 scores will probably be the most) and take the top x scores? X will be set in a separate cell (lets just say A1)?
View 5 Replies
View Related
Feb 13, 2008
I have a raw score for each case. I need to map those raw scores to scale scores. For example, a raw score of 0 to 0.49 maps to a scale score of 120, a raw score of 0.5 to 0.99 maps to a scaled score of 110, etc. There are a total of 13 possible scaled scores (120, 110, 100, ... 20, 10, 0). Is there a way to do this in Excel2003? (Note, if anyone on the list is 'bilingual' (Excel and SPSS), I'm looking for the Excel equivalent of the SPSS command RECODE raw (lo thur .49=120), (.5 thru .99=110), etc. INTO scale.
View 2 Replies
View Related
Apr 3, 2007
I'm running a pool and I would like to sort all the players by the total of points.
It is hard to explain with out showing the spread sheet
View 9 Replies
View Related
Apr 21, 2006
This might be a little long/difficult to explain so I have attached the excel sheet for viewing.
I am trying to adapt cell I11, which now equals cell B10 or B12 (depending on where you type in the "x"). I am trying to formulate it to be either cell B10, B12, B18 or B22, I want it to read the highest seed number (5, 6 or & 7) again depending on where you place the "x". Let me know if I have left anything out.
View 8 Replies
View Related
May 1, 2009
I have Excel file A with a full list of IDs that were selected to take part in a study - about 5000 IDs with only one field "ID". I also have Excel file B with about 1500 ID of people from file A BUT who already took part in the study. Now what I need to do is filter out from file A all the people in file B so in file A I am only left with those who didn't take part.
View 2 Replies
View Related
Jul 5, 2014
How to set a formula to calculate distances (by using a function I provided) among all the observations (each one with a latitude and longitude value expressed in decimals) in an excel sheet. Here it is the previous thread.
I slightly modified the solution MarvinP suggested to me by using my own function to calculate distances among coordinates.
Attached you can find the excel with this. You will see that on the right side of the sheet, in yellow background, there is a matrix whose non-blank cells each one reporting a case of close coordinates (e.g.: 4-5 means that observations 4 and 5 are less than 15 Km apart one from another). Cells of the left-side matrix contains the function used to calculate distances among each observation with any other. Matrices are 116X116.
However, I am now jammed because I don't find an easy way to pool the observations found to be close each other (I have used a distance threshold of 15 Km - you can see it in the formula inside each cell of the "yellow" matrix").
The ideal way to establish new coordinates values for observations close one another would be by using coordinates which are at an intermediate position, however, this is not my priority, it would be OK also using one arbitrary value for all of them, i.e. picking up one pair of coordinates of one of the close observations and attribute this to the other. I have seen that, by excluding nonsensical similarities (e.g. 1-1, 2-2, etc.), there are groups of close observations of size 2 (e.g. 4-5) up to 10 (nine observations very close to a given one).
Attached File : CoordinatesPooling.xlsx
View 4 Replies
View Related
Mar 17, 2014
I need to use VBA read all historical data files, then, copy all the data from those files to Sheet[FX Historical Data] and Sheet[Position Data] respectively.
First, I copy a code from the text book, which allows me to copy one data files every time. Now, I have only 6 files need to copy, but if there are thousands of files? I try lots of codes but I still cannot find a way to solve my problem.
Second, can I use the function of "folder dialog open" to select the data files I want, and then copy the data inside to Sheet[FX Historical Data] and Sheet[Position Data]?
View 2 Replies
View Related
Oct 18, 2006
I run a small town pool league and use excell to track player handicaps, ect. we use a simple system for handicapping. Players can be from 2- to 7+ (2- 2 2+ 3- 3 3+ 4- 4 4+) and so on. if a player is a 2+ and wins they go to a 3- and so on. I want to be able to just type a W or an L and have it look up the players previous handicap and return a new handicap in the next field. I've allready figured out how to count the W's and L's and return the total for a teams weekly wins on another page, and give stats on a players wins and losses. I then print each sheet out weekly. Teams have 8 players but only play 5 each week so some players might not play for 2,3 or more weeks. I also use access to keep track of all the people that have played in the league. some players play a few sessions then quit for a few. this way i can keep track of their handicaps when not playing and havew a list of all the people that have played in the league. Can i get excel to transfer a players handicap to access each time it changes?
View 9 Replies
View Related
Jul 10, 2008
I created a automated football league with 5 teams in it that updated the team positions
(moved them up and down)as the new data was added in the secondary table and i used this type of formula in the secondary table on a rank system to rank positions according to points/wins/goal/difference/ect this also places the appropriate teams in alphabetical order in case the teams have equal stats
=RANK(O4,$O$4:$O$13)+RANK(G4,$G$4:$G$13)/10+RANK(N4,$N$4:$N$13)/100+RANK(F4,$F$4:$F$13)/1000+RANK(E4,$E$4:$E$13)/10000+1/100000
and this formula in the primary table that updates its self
=SMALL($A$4:$A$13,1) in the ranking
and this type of formula to transfer the data to the appropriate destination from the secondary table to the self adjusting primary table
ie points/ goals/ect
=INDEX($A$4:$O$13,MATCH($A22,$A$4:$A$13,0),4)
my question is i now want to extend my table to 24 teams so can i still use this ranking system as the range of 10/10000 only seems to let me use 10 teams( not tested yet)not sure how it works
View 10 Replies
View Related
Jul 5, 2009
I am compiling odds for football matches using the last 16 match outcome data for each team. Basically I need a solution or formula that counts the number of home wins, away wins and draws for each team in the last 16. This would basically mean allowing for the latest match outcome added into and then eliminating the 17th match back so that formulas from the last 16 matches only are always calculated. I envisage having a the data in a row of of 16 columns for each eam.
View 9 Replies
View Related
Jan 15, 2007
i m just trying to create a football calculator, just a real basic one, my excel is ok. Just doin it for a mate as he is arranging some charity football event. i have inputted the teams and that and worked out goal differences but would like to calculate games played, wins losses draws and points, can someone advise or quicky have a look, see attachment.
View 6 Replies
View Related
Aug 8, 2014
I'm having trouble writing a forumla that will grab a second player from a list.
For example, there are 3 possible QB spots. I need a formula that will grab the 1st QB, the second QB if a 1st has already been selected and a 3rd if a 2nd has already been selected. This is what I have but it's not working right.
=IF(NOT(ISBLANK(B2))="True",IF(QB!E2:E71=Summary!A1,QB!B2:B71,"N/A"),"")
View 4 Replies
View Related
Aug 1, 2014
I have created a formula that works on football predictions for my office.
If correct score is predicted - 3 points
or
If correct outcome is predicted 1 point
And completely wrong the cell is to be left blank. I have managed to create this formula ;
=IF(COUNT('Match Results'!$D8,'Match Results'!$E8,Predictions!D8,Predictions!E8)=4,IF(AND('Match Results'!$D8=Predictions!D8,'Match Results'!$E8=Predictions!E8),3,IF('Match Results'!$D8<>'Match Results'!$E8,IF(SIGN('Match Results'!$D8-'Match Results'!$E8)=SIGN(Predictions!D8-Predictions!E8),1)))+0,"")
However the only outcome that will not work is if the match predicted is a 0-0 Draw and people who predicted say 1-1 should get 1 point.
I have attached the spreadsheet : Fixture Predictions Grant.xlsm
View 3 Replies
View Related
Aug 7, 2009
I do a football prediction competition at work and need help or the formula to calculate peoples scores.
The scoring works like this
10 points for a completely correct result and score for both teamse.g. 1-0 prediction and 1-0 result
7 points for a correct result but a correct score for only 1 teame.g. 1-0 prediction and 2-0 result
5 points for a correct result but no correct score for either teame.g. 1-0 prediction and 2-1 result
2 points for an incorrect result but a correct score for 1 teame.g. 1-0 prediction and 1-2 result
I have basic Excel knowledge but have no idea how to create a formula which will calculate the above and populate the correct scores for people in the spreadsheet.
View 10 Replies
View Related
Oct 6, 2006
I have a simple spreadsheet recording games played on my football table.
Each match is the first to 10 goals. So each result is a simple: ...
View 7 Replies
View Related
Dec 20, 2012
An example will be as follows. List all possible outcomes for 3 matches. That will be 27 possible outcomes.
I would like results for my request of 50 matches to be displayed as follows.
HHH
HHD
HHA
HDH
HDD
HDA
[Code] ...........
Where:
H=HOME
D=DRAW
A=AWAY
Is there a way i can have the possible outcomes listed as above for the outcomes of 50 football matches? I do know that the outcomes will be hundreds of millions if not billions.
View 9 Replies
View Related
Feb 12, 2009
A pal at work runs a football predictions spreadsheet but due to a recent surge in numbers, it is taking longer to adminster each week.
Basically, you get 3pts for a spot on home score, 4pts for a spot on draw, 5pts for a spot on away win and only 1pt if you get a correct result but not the actual scoreline, with no points being scored for being completely wrong.
At the moment, he manually inputs 0,1,3,4 or 5 pts each Monday, of course this is open to human error. Is there a way of getting excel to calculate this for him once he inputs the correct score in the first column?
View 9 Replies
View Related
Aug 30, 2013
Is it possible to calculate the current optimal fantasy football team from the attached data and constraints listed on the 'solver' tab?
View 2 Replies
View Related
Aug 2, 2009
I'm creating an (English) football predictions competition for me and my family.
One problem that has stumped me is how to get the scores based on the 'home' & 'away' score predictions.
The rules are: If I predict the correct exact result I get 3 points. I want to add another 'rule' whereby if I predict the correct winner, I get 1 point. Incorrect predictions get 0 points. I don't know how to do this using a formula.
View 11 Replies
View Related
Apr 21, 2007
Is It Possible to use VBA Coding to Display An Image (Object),
And Un-Display or Remove that Same Image (Object) using a VBA Code?
Example:
I have a Mailbox Picture that I would Like to Show, but only when a cell's
value = 5. If the Cell's Value is not 5, then don't display the mailbox.
View 12 Replies
View Related
Jul 7, 2009
Is it possible to make a top 5 scores section?
Ive been reading up on Arrays and how to use Arrays etc so i believe that it could be done with an array but i could be complete wrong.
what i have is players names in A4 and there averages in H4. i have 22 players listed but i want to take the top 5 scores from h4 and display them in a different section with there as so: NAME(A4): AVERAGE(h4) repeated 5 times and updates Automatically.
View 12 Replies
View Related
May 9, 2007
What is the best way to look up and return the 10 best performers out of a list of say, 40. I have columns representing people's names, their school's name, their age and their total score. The following formula is to add up the 4 highest scores for each school: SUM(LARGE(($A$2:$A$499=Y2)*($C$2:$C$499),{1,2,3,4})) (entered as an array) Now I want to display the 10 best performing schools (who will be determined by calculating their 4 best scores).
View 4 Replies
View Related