Google Sheets Lottery Number Generator Using Benford's Law
Lottery Number Generator Using Benford's Law
Shared as viewer with anybody with the link, make your own copy to be able to run
https://docs.google.com/spreadsheets/d/1yJTJ_l2o_qY372CSZ1RUzlfN_I2yhokzWuAggD92Na4/edit?usp=drive_link
References
What Is Benford’s Law and Why Is It Important?
https://builtin.com/data-science/benfords-law
https://en.wikipedia.org/wiki/Benford%27s_law
https://math.stackexchange.com/questions/217869/benfords-law-with-random-integers
BenCollins
https://www.benlcollins.com/
A free site with plenty of free Google Sheets and app script tips and guides. Sign up and get weekly tips delivered to your inbox.
• Beginner Apps Script Course
https://courses.benlcollins.com/p/beginner-apps-script
Google Resources for Google Apps Script
https://www.google.com/script/start/
53
views
DND Calculator
Track your breaks (DND) using Google Sheets
DND Calculator
https://docs.google.com/spreadsheets/d/1f3GlQpl55C3ExTrmNQfPlV9mHqqydr3CnEij6DTeWsM/edit?usp=sharing
8
views
Google Sheets - QueryByName Named Function
Use column names in your QUERY()
Target Experience Level: Intermediate
Topic Level: Intermediate to Advanced
Benefits
Makes using QUERY() more intuitive
If columns change your function will continue to work
References
https://www.benlcollins.com/
A free site with plenty of free Google Sheets and app script tips and guides. Sign up and get weekly tips delivered to your inbox.
Articles from Ben Collins for Named Functions:
SCAN Function in Google Sheets - LAMDA Helper Function
https://www.benlcollins.com/spreadsheets/scan-function/
Lambda Functions 10-Day Challenge
https://courses.benlcollins.com/p/lambdafunctions
QUERY & MYSELECT functions, Select by Column Names (Headers, Labels) - Google Sheets
https://www.youtube.com/watch?v=clq7WlC2whk&list=PLn5v4CFyfaY_gjJ1vl-1rBrV6GQL3lq87&index=3&t=43s
Google Resources
SCAN Function
https://support.google.com/docs/answer/12569094?hl=en
Working Model Showing How to use QueryByName, Named Functions Included (make your own copies if you like)
QueryByName
https://docs.google.com/spreadsheets/d/11AtsQslRDJ6E5TJctFONDyFkQt6NsIYjyrcQLQH2eYs/edit?usp=sharing
Youtube Links
Named Function Tutorial (includes link to Named Function Library)
https://youtu.be/sqdDEms0Ct4
Rumble Links
Named Function Tutorial (includes link to Named Function Library)
https://rumble.com/v25qm9k-introduction-to-google-sheets-named-functions.html
16
views
Google Sheets - Backtesting Stocks
This video introduces the Google sheet I developed to perform backtesting on publicly traded stocks. Find out if you invested $2,200 in AAPL stock when they went public in 1980 what it would be worth today and other stocks as well.
Please like and comment.
Backtesting Google Sheet
https://docs.google.com/spreadsheets/d/1KYhtUTHpYcmJAr56bZSOU-ZKlj_xWwrIckz6F-8VjIM/edit?usp=sharing
Symbols provided by
https://www.eoddata.com/symbols.aspx
Backtesting: Definition, How It Works, and Downsides
https://www.investopedia.com/terms/b/backtesting.asp
What Is Annual Return? Definition and Example Calculation
https://www.investopedia.com/terms/a/annual-return.asp
Google Sheets - Dynamically Combine Sheets Video
https://rumble.com/v28xl0k-google-sheets-dynamically-combine-sheets.html
Introduction to Google Sheets Named Functions
https://rumble.com/v25qm9k-introduction-to-google-sheets-named-functions.html
54
views
1
comment
Google Sheets - Denormalize Data to Simulate SQL Joins
This video will show how to simulate the SQL JOIN clause in the Google Sheets QUERY() function using the custom function DENORMALIZE(). I am sharing the completed spreadsheet model so you can make a copy for yourself
Please like and comment if you have any questions.
Denormalize Google Sheet
https://docs.google.com/spreadsheets/d/1vziuF8gQcsOxTLEtlcU2cgTAYL1eIaaMTAoIrAS7mnE/edit?usp=sharing
Normalizing Databases
https://learn.microsoft.com/en-us/office/troubleshoot/access/database-normalization-description
SQL JOINs
https://www.w3schools.com/sql/sql_join.asp
Custom Functions in Google Sheets
https://developers.google.com/apps-script/guides/sheets/functions
Getting Started with JSDoc 3
https://jsdoc.app
https://jsdoc.app/about-getting-started.html
https://jsdoc.app/tags-param.html
GNU General Public License
http://www.gnu.org/licenses/gpl.html
22
views
Google Sheets - Dynamically Combine Sheets
This tutorial shows a technique to dynamically combine multiple sheets that are contained in the same spreadsheet not using the QUERY() function. I am sharing the completed spreadsheet model so you can make a copy for yourself
Please like and comment if you have any questions.
Dynamically Combine Sheets Spreadsheet
https://docs.google.com/spreadsheets/d/1xvW2OGhgP4RkCNdwqJO-5OfiuB3PNf3l8eryt0HmL2A/edit#gid=0
Named Function Tutorial (includes link to Named Function Library)
https://rumble.com/v25qm9k-introduction-to-google-sheets-named-functions.html
29
views
Introduction to Google Sheets Named Functions
Named Functions let you save and name your own custom formulas, built with regular Sheets functions. One of the main benefits is being able to simplify the usage of complex functions. The Named Functions can be used in other Google Sheet files.
Outline and Reference List
https://docs.google.com/document/d/1cqUtmAguK6KHK1KSi14djMGF4GjxA_3Bso57SRRLRR8/edit#
Named Function Library Examples
https://docs.google.com/spreadsheets/d/1MHKj5kxyJSX6ruaz2DMgIvQnuT8PhIn1K1DgLy8otBs/edit?usp=sharing
31
views
ANAMORPH - "Breakthrough!" [Official Video]
Anamorph is a Raleigh, NC based progressive metal band and this is their official EPK.
4
views
Ewa's Christmas Tree - 2022
No two trees Ewa puts up every year are the same. There are many stories behind the ornaments. We hope you enjoy and helps make your Christmas season a little merrier.
44
views
Agustaville 2022 - Daytime
Ewa's Christmas village 2022 in the daylight. Every year Ewa loves to decorate for Christmas. Last year she skipped setting up her Christmas Village which is different every year. Normally Ewa does not decorate until after Thanksgiving but the village is time intensive so she started early right after Halloween and finished early this morning.
Here is the daytime video link. I will also post the night time version. In past years I personally like the night village better with all the lights and such.
I hope these videos brings a little joy into your lives.
26
views
Agustaville 2022 - Night time
Ewa's Christmas village 2022 in the night time. Every year Ewa loves to decorate for Christmas. Last year she skipped setting up her Christmas Village which is different every year. Normally Ewa does not decorate until after Thanksgiving but the village is time intensive so she started early right after Halloween and finished early this morning.
Here is the night time video link. I also posted the daytime version. In past years I personally like the night village better with all the lights and such.
I hope these videos brings a little joy into your lives.
37
views