Go to Post The 4-wheel drive systems bounce around like Mexican jumping beans. It is quite fun to watch. - Warren Boudreau [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-06-2013, 16:58
karomata's Avatar
karomata karomata is offline
Rebellious Egyptian
AKA: Mo Elhelw
no team
Team Role: Alumni
 
Join Date: Sep 2010
Rookie Year: 2006
Location: Rochester, NY
Posts: 212
karomata has much to be proud ofkaromata has much to be proud ofkaromata has much to be proud ofkaromata has much to be proud ofkaromata has much to be proud ofkaromata has much to be proud ofkaromata has much to be proud ofkaromata has much to be proud of
Making an Excel Scouting Database

Hello,

I have recently been playing with Defensive Power Rankings, attempting to find ways to greatly improve it and test it out on 2013 regional event data. I am in one of what I believe to be its most perfected stages, and I have been trying to make a calculation document, however I have run into a few problems.

To calculate these values, I need to have specific data on each match, then I average the calculated values from each match that a team competed in, to attain the final value. Other than manually tracking which matches a team played in and doing the math in calculation cells, is there a way using excel that I can have it automatically identify which matches in which cells would the team have competed in, without me having to set it to do it for that specific instance? Ex. Instead of me recording all the match data from 1511s matches into the final calculation table, the program automatically identifies which matches 1511 played in, and puts it into the table for me.

Also, instead of having to type in OPRs for each team in each match, is there a way that I can have it automatically replace the team number with the OPR, getting the data from a separate table. Ex: If I type 1511 into a cell, it automatically removes the 1511 and replaces it with the OPR from a defined table.

Once again, I am using Microsoft Excel 2013, and I understand that it is limited in its abilities. I am not an expert on Excel so before I decided that I needed to take a new approach I wanted to see if it was possible to do some of these things.

Thanks!
__________________
Mo Elhelw
FRC 1511 Rolling Thunder 10th Season Team Captain

Check out this awesome scouting project I've been working over the past year called FMS Scouting:
http://www.chiefdelphi.com/media/papers/3002
If you're tired of needing 6 people to scout or just don't have the resources, FMS Scouting is for you!

"The FIRST rule of FIRST Robotics is always talk about FIRST Robotics"
"Life's not linear"
2014 Finger Lakes Regional Chairman's Award Winner
2014 New York Tech Valley Regional Engineering Inspiration Winner
2013 Boston Regional Winners with 125 and 126
2012 Connecticut Regional Engineering Inspiration Winner
2011 DC Regional Chairman's Winners[/size]
Reply With Quote
  #2   Spotlight this post!  
Unread 11-06-2013, 17:22
Adam.garcia Adam.garcia is offline
Design Mentor
FRC #0004 (Team 4 Element)
Team Role: Mentor
 
Join Date: Aug 2009
Rookie Year: 1997
Location: High Tech LA
Posts: 133
Adam.garcia is just really niceAdam.garcia is just really niceAdam.garcia is just really niceAdam.garcia is just really nice
Re: Making an Excel Scouting Database

If you have all the match data in another table, you can utilize the vlookup command to pull all the raw data into a separate table, where you can do further analysis.

To get you started, here is a nice worksheet that implements the VLOOKUP feature.

http://www.chiefdelphi.com/media/papers/2815

You can find it used on the third sheet in the free speed box, where he uses a dropdown box to have users be able to select from a predefined list.

Let me know if this works, and if it does help, feel free to post on this forum for additional answers.
__________________
“The object of education is to teach us to love what is beautiful.”

“Never discourage anyone who continually makes progress, no matter how slow.”
Reply With Quote
  #3   Spotlight this post!  
Unread 11-06-2013, 18:47
Michael Hill's Avatar
Michael Hill Michael Hill is offline
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 1,567
Michael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond repute
Re: Making an Excel Scouting Database

Pivot tables may be a very convenient thing for you to look into. They're a bit hazy for me because I don't use them, but I know they're very useful for things like you're wanting to do.
Reply With Quote
  #4   Spotlight this post!  
Unread 11-06-2013, 20:16
Basel A's Avatar
Basel A Basel A is online now
It's pronounced Basl with a soft s
AKA: @BaselThe2nd
FRC #3322 (Eagle Imperium)
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Ann Arbor, Michigan
Posts: 1,924
Basel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond repute
Re: Making an Excel Scouting Database

Quote:
Originally Posted by karomata View Post
Other than manually tracking which matches a team played in and doing the math in calculation cells, is there a way using excel that I can have it automatically identify which matches in which cells would the team have competed in, without me having to set it to do it for that specific instance? Ex. Instead of me recording all the match data from 1511s matches into the final calculation table, the program automatically identifies which matches 1511 played in, and puts it into the table for me.
If you'd like, I'd be happy to email/show you an example of how I did this. I've put some thought into it and haven't found a really good method in Excel, but it's not hard to make it work. Essentially just create a match index based on the schedule, then do an iterative search through the index.
__________________
Team 2337 | 2009-2012 | Student
Team 3322 | 2014-Present | College Student
“Be excellent in everything you do and the results will just happen.”
-Paul Copioli
Reply With Quote
  #5   Spotlight this post!  
Unread 11-06-2013, 20:24
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,016
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Making an Excel Scouting Database


AWK is an excellent tool for beating the raw data into submission before importing it into your spreadsheet.

Once the data is in the spreadsheet, you can use the built-in functions like vlookup and pivot tables mentioned earlier, and/or you can write macros using VBA.

Attached is a very simple stripped-down example how to use the built-in VLOOKUP function. In cell A1, enter any of the values in cells F1 through F12, and Excel will look up that value in the table and update the corresponding value in cell B1.


Attached Files
File Type: xls vlookup.xls (13.5 KB, 5 views)

Last edited by Ether : 11-06-2013 at 20:38.
Reply With Quote
  #6   Spotlight this post!  
Unread 11-06-2013, 21:19
Michael Hill's Avatar
Michael Hill Michael Hill is offline
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 1,567
Michael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond repute
Re: Making an Excel Scouting Database

Quote:
Originally Posted by Ether View Post

AWK is an excellent tool for beating the raw data into submission before importing it into your spreadsheet.

Once the data is in the spreadsheet, you can use the built-in functions like vlookup and pivot tables mentioned earlier, and/or you can write macros using VBA.

Attached is a very simple stripped-down example how to use the built-in VLOOKUP function. In cell A1, enter any of the values in cells F1 through F12, and Excel will look up that value in the table and update the corresponding value in cell B1.


lol @ beating data into submission. While I use awl on a daily basis for quick and dirty stuff, I prefer Perl as my gun in a knife fight.
Reply With Quote
  #7   Spotlight this post!  
Unread 11-06-2013, 21:33
D.Allred's Avatar
D.Allred D.Allred is offline
Registered User
FRC #4451 (Rat Rod Robotics)
Team Role: Mentor
 
Join Date: Jun 2009
Rookie Year: 2009
Location: Greenville, SC
Posts: 206
D.Allred has a reputation beyond reputeD.Allred has a reputation beyond reputeD.Allred has a reputation beyond reputeD.Allred has a reputation beyond reputeD.Allred has a reputation beyond reputeD.Allred has a reputation beyond reputeD.Allred has a reputation beyond reputeD.Allred has a reputation beyond reputeD.Allred has a reputation beyond reputeD.Allred has a reputation beyond reputeD.Allred has a reputation beyond repute
Re: Making an Excel Scouting Database

Quote:
Originally Posted by karomata View Post

To calculate these values, I need to have specific data on each match, then I average the calculated values from each match that a team competed in, to attain the final value. Other than manually tracking which matches a team played in and doing the math in calculation cells, is there a way using excel that I can have it automatically identify which matches in which cells would the team have competed in, without me having to set it to do it for that specific instance? Ex. Instead of me recording all the match data from 1511s matches into the final calculation table, the program automatically identifies which matches 1511 played in, and puts it into the table for me.

Also, instead of having to type in OPRs for each team in each match, is there a way that I can have it automatically replace the team number with the OPR, getting the data from a separate table. Ex: If I type 1511 into a cell, it automatically removes the 1511 and replaces it with the OPR from a defined table.
I use similar techniques with our Excel scouting system. VLOOKUP will not add or average your raw match data. Pivot tables could do what you want, but you will need to organize your data in a table format – one row per robot per match. I use the SUMIF and COUNTIF to calculate the values I want instead of pivots, it just personal preference for the statistics I’m gathering from multiple worksheets.

Send me a PM if you want a copy of my scouting sheets.
Reply With Quote
  #8   Spotlight this post!  
Unread 12-06-2013, 12:24
karomata's Avatar
karomata karomata is offline
Rebellious Egyptian
AKA: Mo Elhelw
no team
Team Role: Alumni
 
Join Date: Sep 2010
Rookie Year: 2006
Location: Rochester, NY
Posts: 212
karomata has much to be proud ofkaromata has much to be proud ofkaromata has much to be proud ofkaromata has much to be proud ofkaromata has much to be proud ofkaromata has much to be proud ofkaromata has much to be proud ofkaromata has much to be proud of
Re: Making an Excel Scouting Database

Thanks for all of your help, it has helped speed along this process greatly! Hopefully in a few days I can prove the validity of these new DPR calculation methods and I'll post them here! Once again, thanks so much for all your help!
__________________
Mo Elhelw
FRC 1511 Rolling Thunder 10th Season Team Captain

Check out this awesome scouting project I've been working over the past year called FMS Scouting:
http://www.chiefdelphi.com/media/papers/3002
If you're tired of needing 6 people to scout or just don't have the resources, FMS Scouting is for you!

"The FIRST rule of FIRST Robotics is always talk about FIRST Robotics"
"Life's not linear"
2014 Finger Lakes Regional Chairman's Award Winner
2014 New York Tech Valley Regional Engineering Inspiration Winner
2013 Boston Regional Winners with 125 and 126
2012 Connecticut Regional Engineering Inspiration Winner
2011 DC Regional Chairman's Winners[/size]
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:19.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi