This is the home of some JavaScript that provides a Custom
Function for Google Sheets named =RSUDIST
.
You provide information to =RSUDIST()
about an equity grant:
- How many RSUs were granted?
- When do these RSUs begin to vest?
And it generates a schedule indicating distribution events for that equity.
=RSUDIST
makes reasoning about equity easier.
You can only benefit from better understanding any equity that has been granted to you.
And Google Sheets is a good mechanism for exploring how vesting equity and changing stock prices can impact you.
I have always wanted something that would be illustrative of possible
outcomes in the way that =RSUDIST
is.
It was helpful to me, and whether you have been dealing with equity for years or are just getting started, I think it can be helpful to you, too.
Lastly, I have known people that have entirely disregarded compensation from equity because they did not understand it, and I do not want anyone to be in that position if I can help them avoid it.
- Create a new Google Sheet
- Navigate to Tools > Script Editor (a new window will open)
- Replace the default Script Editor content of
function myFunction { }
with the contents of this file. - Save your changes in the Script Editor
- Navigate back to your Google Sheet
- You should now be able to invoke
=RSUDIST()
.
It can be invoked with arguments directly: =RSUDIST(16, "1/1/2020")
.
Alternatively, you could put 16
and 1/1/2020
in two cells right
next to each other, and you can pass in a reference to those cells:
=RSUDIST(A1:B1)
.
Lastly, if you are in the fortunate situation where you have two
grants, you could describe each grant as above and then pass in a
reference to that range: =RSUDIST(A1:B2)
.
In this situation, =RSUDIST
will merge the results together, and if
dates overlap the RSUs vested will be combined.
- Assumption:
=RSUDIST
assumes a quarterly vesting schedule over 4 years. - Limitation
=RSUDIST
does not presently model a year long cliff in any grant. - Warning:
=RSUDIST
was created quickly during a vacation with limited input, and I am not convinced that it produces accurate results.
It could be valuable to you if you want to get a rough idea of how an equity situation will change over time inside of a Google Sheet.
However, YOU MUST DOUBLE CHECK what it produces against the reality defined by your financial institution.
In this regard, please pay particular attention to the part of the LICENSE that reads:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED
I have submitted =RSUDIST
to be a proper Google Sheets Add-on, but
I'm still working through what's required for that.
In the mean time, you can surely use/consume =RSUDIST
as described
above.
If you are looking to fix bugs or add features so that they are merged back in here, I suspect you should open an issue to describe what you want.
I have a test suite for =RSUDIST
that lives inside a Google Sheet--
and I would share that with anyone that wants to collaborate.
I will also consider converting this over to use Clasp, but I'll wait until I get through / give up on this becoming a proper Google Sheet Add-on, first.
I hope that =RSUDIST
can be useful to you, and if you see a problem
or shortcoming I invite you to create an issue.
Be informed.
Be well.
Happy New Year.