Re:Making a digital clock in Google Sheets
by lbatchelor on Saturday December 26, 2020 @04:32AM
(#25542365)
Ha! That is so cool. I was super interested in the idea so tried doing it myself without looking at your solution and came up with a quite an elegant solution using only 8 formulas
and some named ranges (could be 4 if you inlined them more but I kept them separate for clarity).
Re:Making a digital clock in Google Sheets
by hawktheslayer on Friday December 25, 2020 @09:33PM
(#25540866)
Thanks, I really enjoyed this. It brings me back to my Digital Logic Design class where we needed to construct the truth tables for a digital clock for our final exam.
Re:Making a digital clock in Google Sheets
by mattlondon on Saturday December 26, 2020 @03:50AM
(#25542221)
They've always (?) had a script IDE you can use to create your own functions for use in cells so I guess it has always been Turing complete.
I've used the script IDE a lot where it just made sense to do something in about 10 lines/a for-loop of normal procedural code rather than an unreadable chain of about 50 spreadsheet formulas in one cells.
https://docs.google.com/spreadsheets/d/1T3bv8ThluHc18ghI8u9m...
Thank you for the inspiration!
Learned about REGEXEXTRACT and parametrized Strings.
Powerfull stuff.
As my job involves more and more Google Sheets Engineering lately. I really appreciate this kind of hacks!
I wonder if this could be some sort of timezone/locale issue screwing up his regexes ... Although there is no obvious 7 in my current time)
I've used the script IDE a lot where it just made sense to do something in about 10 lines/a for-loop of normal procedural code rather than an unreadable chain of about 50 spreadsheet formulas in one cells.