{"id":18100087,"url":"https://github.com/jedcn/rsudist","last_synced_at":"2025-04-06T04:45:20.393Z","repository":{"id":55410665,"uuid":"325361667","full_name":"jedcn/rsudist","owner":"jedcn","description":"Google Sheets Add-on that illustrates future vesting events","archived":false,"fork":false,"pushed_at":"2021-01-02T02:37:25.000Z","size":240,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-12T10:55:45.642Z","etag":null,"topics":["add-on","equity","financial-literacy","google-sheets","vesting-schedule"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jedcn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-29T18:41:22.000Z","updated_at":"2021-01-02T02:40:15.000Z","dependencies_parsed_at":"2022-08-14T23:41:00.984Z","dependency_job_id":null,"html_url":"https://github.com/jedcn/rsudist","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedcn%2Frsudist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedcn%2Frsudist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedcn%2Frsudist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedcn%2Frsudist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jedcn","download_url":"https://codeload.github.com/jedcn/rsudist/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247436145,"owners_count":20938532,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["add-on","equity","financial-literacy","google-sheets","vesting-schedule"],"created_at":"2024-10-31T21:12:59.624Z","updated_at":"2025-04-06T04:45:20.305Z","avatar_url":"https://github.com/jedcn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rsudist\n\nThis is the home of [some JavaScript][Code.js] that provides a [Custom\nFunction] for [Google Sheets] named `=RSUDIST`.\n\nYou provide information to `=RSUDIST()` about an equity grant:\n\n* How many RSUs were granted?\n* When do these RSUs begin to vest?\n\nAnd it generates a schedule indicating distribution events for that\nequity.\n\n## Why might you use `=RSUDIST`?\n\n`=RSUDIST` makes reasoning about equity easier.\n\nYou can **only benefit** from better understanding any equity that has\nbeen granted to you.\n\nAnd Google Sheets is a good mechanism for exploring how vesting equity\nand changing stock prices can impact you.\n\n## Why would I create/share `=RSUDIST`?\n\nI have always wanted something that would be illustrative of possible\noutcomes in the way that `=RSUDIST` is.\n\nIt was helpful to me, and whether you have been dealing with equity\nfor years or are just getting started, I think it can be helpful to\nyou, too.\n\nLastly, I have known people that have *entirely disregarded*\ncompensation from equity because they did not understand it, and I do\nnot want anyone to be in that position if I can help them avoid it.\n\n## How do you \"get\" `=RSUDIST`?\n\n1. [Create a new Google Sheet]\n2. Navigate to Tools \u003e Script Editor (a new window will open)\n3. Replace the default Script Editor content of `function myFunction {\n   }` with the contents of [this file][Code.js].\n4. Save your changes in the Script Editor\n5. Navigate back to your Google Sheet\n6. You should now be able to invoke `=RSUDIST()`.\n\n## How do you use `=RSUDIST` once it is available in a Google Sheet?\n\nIt can be invoked with arguments directly: `=RSUDIST(16, \"1/1/2020\")`.\n\n\u003cimg alt=\"RSUDIST with values\" src=\"images/rsudist-invocation-by-value.jpg\" width=\"250\" /\u003e\n\nAlternatively, you could put `16` and `1/1/2020` in two cells right\nnext to each other, and you can pass in a reference to those cells:\n`=RSUDIST(A1:B1)`.\n\n\u003cimg alt=\"RSUDIST with references\" src=\"images/rsudist-invocation-by-reference.jpg\" width=\"400\" /\u003e\n\nLastly, if you are in the fortunate situation where you have two\ngrants, you could describe each grant as above and then pass in a\nreference to that range: `=RSUDIST(A1:B2)`.\n\n\u003cimg alt=\"RSUDIST with two grants\" src=\"images/rsudist-two-grants.jpg\" width=\"400\" /\u003e\n\nIn this situation, `=RSUDIST` will merge the results together, and if\ndates overlap the RSUs vested will be combined.\n\n## Assumptions, Limitations, and a Warning\n\n* **Assumption**: `=RSUDIST` assumes a quarterly vesting schedule over\n  4 years.\n* **Limitation** `=RSUDIST` does not presently model a year long cliff\n  in any grant.\n* **Warning: `=RSUDIST` was created quickly during a vacation with\n  limited input, and I am not convinced that it produces accurate\n  results.**\n\nIt could be valuable to you if you want to get a rough idea of how an\nequity situation will change over time inside of a Google Sheet.\n\nHowever, YOU MUST DOUBLE CHECK what it produces against the reality\ndefined by your financial institution.\n\nIn this regard, please pay particular attention to the part of the\n[LICENSE] that reads:\n\n\u003e THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\u003e EXPRESS OR IMPLIED\n\n## Future Development\n\nI have submitted `=RSUDIST` to be a proper Google Sheets Add-on, but\nI'm still working through what's required for that.\n\nIn the mean time, you can surely use/consume `=RSUDIST` as described\nabove.\n\nIf you are looking to fix bugs or add features so that they are merged\nback in here, I suspect you should open an issue to describe what you\nwant.\n\nI have a test suite for `=RSUDIST` that lives inside a Google Sheet--\nand I would share that with anyone that wants to collaborate.\n\nI will also consider converting this over to use [Clasp], but I'll\nwait until I get through / give up on this becoming a proper Google\nSheet Add-on, first.\n\n## In Closing\n\nI hope that `=RSUDIST` can be useful to you, and if you see a problem\nor shortcoming I invite you to [create an issue].\n\nBe informed.\n\nBe well.\n\nHappy New Year.\n\n[Code.js]: src/Code.js\n[Google Sheets]: https://www.google.com/sheets/about/\n[Custom Function]: https://developers.google.com/apps-script/guides/sheets/functions\n[Create a new Google Sheet]: https://sheets.new/\n[LICENSE]: ./LICENSE\n[Clasp]: https://github.com/google/clasp\n[create an issue]: https://github.com/jedcn/rsudist/issues/new\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjedcn%2Frsudist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjedcn%2Frsudist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjedcn%2Frsudist/lists"}