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.
I am making a spreadsheet for my fantasy baseball league and I have it set up how I want it, minus the correct formula(s) to make it work.
Basically, I have 15 different tabs in one .xlsx file. The first 14 are each team and their players. The 15th is a huge ranking list of all the players in the league basically.
What I want to happen is, as I enter a name in any of the first 14 tabs, somehow on the 15th the corresponding name with be crossed out, colored, etc.
I am using the following code to send emails, it's from Ron DeBruin's site. It works, but how can I edit so that it doesn't send the file, but saves it to your drafts??
I've got an excel master roster sheet filled with youth hockey player info and stats. Fields are in columns, and a couple hundred rows of players. What I'm planning to do use this info for a spring teams draft. I've got a blank field/column ready to write in the team names to which each player will be drafted.
What I'd like to do is have several other 'team pages' in the excel workbook that first look through the master roster sheet, checking for a matching team name. Next, those team pages would populate themselves with all the player information on the master sheet, provided the team name matches. Basically I want to have the rosters created automatically rather than doing any autofiltering after.
I did try a VLookup function, but it would only pull the first matching record, and nothing after.
I have a complex sorting macro with userforms & Modules. Works great! Now I need to save the final Worksheet without the macros. The final step to my project is a Application SaveAs. Can I add a delete-all-macros step when the user clicks the Save As button which would create a new workbook with the finished worksheet and NO macros?
Creating email drafts with the use of VBA in excel.
I've used some of his code to create an email draft to send a particular range within my excel spreadsheet. The trouble I'm having with it is keeping the hyperlinks within each cell in the range which will take the user to a particular website. How do I keep this formatting when the range is copied into the body of the email.
Example Cell A10 = HYPERLINK("URL","Google")
The hyperlinks are lost. How to keep these? Here is the code
Sub Mail_Selection_Range_Outlook_Body() Dim rng As Range Dim OutApp As Object Dim OutMail As Object
Set rng = Nothing On Error Resume Next Set rng = Range("EmailRange")
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
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
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.
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.
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.
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.
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.
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?
I am trying to track a 3 month sliding window i.e jan feb mar. If I put mar in A1 then B1 needs to show +1 in the month of jan, in feb B2 should show a +1 and in Mar B3 should show a +1. As each month progresses I need to show the additions and subtractions of the three month deadline?
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.
I've entered there name in column A, and the expiry date in column B. How do i then get column C to show how many days or months are remaining? Ideally i would have the guys with 3months or more left in green 1-2months amber and <1month in red.
I have a problem on column I (Date Schedule Interview) and column N (Date Showed Up). the user can only enter dates on column I and N if column H (Status) is equal only to "SCHEDULED", and it will automatically blank if Status is not equal to SCHEDULED. Below is my code:
I was curious if there is any way to have time automatically tracked in excel. I will have a few colums, first will be the time, second will be notes, when a note is inputed is there a function available to automatically fill in the time?
in creating a macro to automatically have the start time and end time recorded in a cell of the same workbook after opening and closing the excel workbook.
Also, is there any way were we can also record the time if the system has been locked while going for a break.
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.
I have a Formula that someone else had built that is very simple, the start date is entered manually and then it calculates when each step of the process should be complete based on another cell that has time each process takes.
So for example
A1 = 3/4/2013 (manually entered) B1 = A1+B2 (B2 would have the amount of time for a process) and this goes on for 12 cells. The problem is that it does not exclude weekends/holidays. Is there a way to do this? I already have a table of off-days (weekends, off fridays, and Holidays.)
i am creating a break track program using excel with vba. My excel file contains the data for all employees. I have a Userform where the user will enter his employee ID which will pull up his data. I have 3 option button in which the user choose what time he would start his break. Once the user click the start button, the time he started his break will be placed in a cell and a dialog box will appear stating the time the user needs to be back. Once the user click the end button, the time he ended his break will be place on a cell as well and then it will show a message "on time" if the user came on time else if the user was overbreak, the overbreak amount of time will be displayed. I have attached my sample file together with some vba code.
I am a bit of a novice with excel. I have created my own sales tracker where I get two forms of bonus.
Sheet 1 I have with all my sales. Based on the amount of sales I do I get a set bonus for each amount. Sheet 2 I have for all the sales that progress.
They also are on a value basis- for every sale I get a certain amount of bonus. I have 2 cells calculating the amount of points. I was wondering if there was a way to have the cells calculate from the bonus table what i would get without me adding it up manually.
Sheet1 is booked leads.H3 calculates the total amount of points. Sheet 2 is the paid occurences. F2 of that sheet is total points. Sheet 3 is the bonus structure.
I am looking to put all the information in sheet 1:
Booked Bonus Occurred Bonus Total Bonus
Bonus structure is as follows:
Booked Payout Table Occurred Payout Table Net Points Total Bonus
I am looking to take the data off of a "detail" sheet and put it to a summary page. I want the summary page to find the capital and expense from "details" sheet by the month on the "details" sheet. Then for every month add all the expenses and capital and put as 2 values per month, Capital and expense, on the summary page. I am not really sure where to begin but have added my excel workbook that I have started.
I have a lot of outputs being spat out in csv files.
I need to get some of the data from set columns and copy this over into a master tracker. Columns are not sequencial and may need to copy change at a later date. Example attached.
Some data fields will have letters in them as well. Some are varying in length in terms of the amount of data within a cell. eg. "AB389238923589Y234HI" or just "A-GT6"
I don't know where to start VBA wise but it must be possible rather than open copy paste.
The tracker has a set name but will change quaterly.
The Output CSV files are new files with a number (no date) for titles.