<aside> ๐๐ผ Welcome to this cheatsheet that will help you introduce all sorts of random functions to your Notion workspace.
Random Dynamic Number
Create a random number that changes every time you re-open a Notion page.
Great for shuffling database entries if you have a large amount and want to randomly surface some. Use it in your Zettelkasten or Meal Planner.
Random Static Number
Create a random number that will remain the same.
Great for building more complex random functions in Notion. Can think of another use case? Let me know on Twitter!
Random Timestamp
Create a random timestamp to add the โshow me only one database entryโ functionality to Notion.
Great for showing only one unique entry that randomly changes every time you load the page. Use it for Random Quotes, to resurface Journal Entries or to randomly select a Workout Routine.
</aside>
Want to see it in action? Hereโs a simple Random Quote Generator that uses all three ๐๐ผ
Random Quote Generator in Notion
This will display a different letter every time you re-open the page
(((((toNumber(substring(replaceAll(id(), "[a-z]", ""), 0, 8)) * 100011979) + 500067713) % 900066731) * (((timestamp(now()) * 800067089) + 800068411) % 800053967)) + 900067309) % 900066571
Requires a Created Time Property labelled Created Time
(((((timestamp(prop("Created")) * 100011979) + 500067713) % 900066731) * (((toNumber(substring(replaceAll(id(), "[a-z]", ""), 0, 8)) * 800067089) + 800068411) % 800053967)) + 900067309) % 900066571
Requires properties named Randomizer Dynamic
and Randomizer Static
with the above formulas.
toNumber(substring(format(prop("Randomizer Dynamic") * prop("Randomizer Static")), 0, 13))