TedJuch / TedTournament

TedTournament() is a Google Sheets custom function which replaces the deprecated GoogleTournament() function.
GNU General Public License v3.0
3 stars 1 forks source link

TedTournament()

TedTournament() is a custom function for Google Sheets which returns data for March Madness (NCAA Division I Basketball Championship) games. Currently, this function supports data for 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024 for men's and women's tournaments.

Installation

  1. Open the spreadsheet with which you would like to use this function
  2. Go to Extensions > App Script
  3. Choose Blank Project
  4. Copy and paste the code in TedTournament.gs into the body of the code overwriting anything there.
  5. Name the script TedTournament
  6. Click Save
  7. Close the Script Editor

Now you can type =TedTournament(...) with your parameters in your spreadsheet and data will populate from my spreadsheet.

Syntax

=TedTournament(league,year,round,game,colNumber)

Sample Usage

=TedTournament("Men",2019,64,1,1)

Parameter Description

Notes

Pulling Complete Game Data Into a Spreadheet without using TedTournament()

If you're building you're own custom bracket and want to use my data, consider pulling in the entire dataset using the importrange() Google Sheets function.

In any tab in your own spreadsheet use the following:

=importrange("1DyuuT9zPSh9RdzrAF_1bY6HhyuYKckL3E6wr-sGKZTs","Men 2024 Tournament Data!A:Z")

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

GPL-3.0

Google Sheets Templates

I maintain Google Sheets Templates for managing Individual Brackets or a Group of Brackets as a Bracket Manager. The below links will create your own private copy of the files. See the INSTRUCTIONS tab on each sheet for how to use them. You'll get a warning that says "The attached Apps Script file and functionality will also be copied. This is because the TedTournament() function comes pre-installed. To review the script, click on View Apps Script file when making the copy if you are unsure.

Single Bracket Template <--clicking on this link will open a new private copy only you have access to. Once the teams for the Tournament are set, pick your winners, sit back, and enjoy the show! The bracket will automatically update with winners and calculate winning scores. You can also use this template in conjunction with the group template below. See the HELP tabs on each template for how to use them together.

Group Bracket Template <--clicking on this link will open a new private copy only you have access to. Bracket Pool supports up to 100 brackets!