ABCDE
1
Yet Another Puzzlehunt Spreadsheet Tutorial
by betaveros
2
META (why this exists)
3
Compared to other puzzlehunt spreadsheet tutorials, this tutorial is an attempt to:
4
(try to) explain spreadsheets starting from a more fundamental level and a bit more explicitly
5
focus more on spreadsheets and less on solving styles or procedures
6
be less opinionated about specific formatting choices
7
But it's still opinionated about formulas, and I still mention suggestions and gotchas that I think will be nearly universally applicable.
8
Feel free to share widely or give me suggestions.
9
SHEETS
10
Look at the bottom of this page. There are multiple tabs; each is an independent sheet.
11
You can rename them and color them and so on. You can "hide" sheets, which will remove their tab, but they'll still be accessible through the hamburger menu.
12
It's a common workflow to make about one tab-sheet per puzzle in smaller puzzlehunts, but know that Google Sheets limits the number of total cells a sheet can have across all its tabs.
13
The limit is high, but when solving puzzlehunts on the scale of Mystery Hunt, you're liable to hit it; and navigating a spreadsheet with hundreds of tabs is no fun anyway.
14
I won't go into higher-level organization strategies any further here; just be aware.
15
16
FORMATTING
17
Cells can have lots of kinds of formatting: bold, italic, underline, strikethrough, color, font*, background color, borders, alignment, rotation... Use what you like (or what your team likes).
18
* yes technically I want the word "typeface" if this is intended to exclude the preceding, but you know.
19
One thing I'll specifically mention is that monospace fonts are often useful to help you notice patterns, particularly about the lengths of things.
20
Below, it's much more obvious that every word has the same number of letters in the right column compared to the left.
21
I am partial to Source Code Pro, but other popular monospace fonts on Google Sheets include Consolas, Courier New, and Inconsolata.
22
23
billbill
24
whatwhat
25
starstar
26
corecore
27
parkpark
28
29
KEYBOARD SHORTCUTS
30
People keep telling me about the shortcuts to make borders for cells, but I've never used them in my life. (I literally can't right now; they're bound to i3 stuff.)
31
Still, here they are with many other common shortcuts.
32
33
FormattingBorders
34
Ctrl+B: boldAlt+Shift+1: top border
35
Ctrl+I: italic +2: right border
36
Ctrl+U: underline
+3: bottom border
37
Alt+Shift+5: strikethrough
+4: left border
38
Ctrl+Shift+V: paste text only, keep formatting
+6: clear borders
39
Ctrl+Alt+V: paste formatting only, keep text
+7: all borders
40
You can also paste and then access pasting options from an ephemeral menu.
41
Misc
42
Ctrl+Z
Undo. You probably know this.
43
Ctrl+Y
"Redo", but if you haven't undone anything, it'll repeat your most recent action in the current cell. Good for repetitive formatting.
44
Ctrl+D
Fill down: if you've selected a range, copy the value or formula in the first cell to all cells below it
45
Ctrl+R
Fill right: if you've selected a range, copy the value or formula in the first cell to all cells to its right
46
Ctrl+A
"Select all", except that if your cursor is on a nonempty cell, it selects the bounding box of the connected group of nonempty cells. Or something like that.
47
Enter
After entering something into a cell, go to the next cell in column-major order. May be easier to type than arrow keys.
If you preselect a group of cells, it will go to the next cell in the group in column-major order.
48
Tab
After entering something into a cell, go to the next cell in row-major order. May be easier to type than arrow keys.
If you preselect a group of cells, it will go to the next cell in the group in row-major order.
49
F4
When editing a formula, toggle the absolute/relative-ness of the current reference (see the bottom of the Formulas: Basic tab)
50
There are so many! <https://support.google.com/docs/answer/181110>
51
52
Freezing
53
You can freeze the first X rows and/or columns of the sheet, which will make it such that they always stay in view.
54
You can do this from the View menu under Freeze, or by dragging the thick, dark gray bars at the corner of the sheet, left of the column headers and above the row headers.
55
You might use this for column/row headers or any other small-ish parts of the puzzle that you want to stay in view as you navigate the rest of the puzzle.
56
57
Filters
58
You can select a range to make it easy to quickly sort that range by various columns (or filter, or some other stuff; but sorting is the most useful application puzzlehunts).
59
The result looks like this. (Note that the first row you select will become a header and will not get sorted.)
60
Before doing this, or sorting in any other way, I highly recommend making a column with the original (puzzle-presentation) order so you can revert to it (without undoing other work).
61
You never know when you'll need that original order.
62
NumberLetterWord
63
1Chere
64
2Aare
65
3Bsome
66
4Erandom
67
5Dwords
68
Further Resources
69
SoftFro's Google Sheets Puzzle Tricks <https://docs.google.com/spreadsheets/d/1mTVD0KtjbU6-wp1mvYU_abrjdCmnP9focRa1qp36rrY/edit#gid=547492841> has many incredible examples.
70
I adapted a lot of them for this guide.
71
Joel Spolsky's talk You Suck at Excel <https://www.youtube.com/watch?v=0nbkaYsR94c>, despite the name, still has some gems that generalize here, though I've tried to reproduce them.
72
Google Sheets' own function guide <https://support.google.com/docs/table/25273> can tell you lots about functions.
73
You may like to solve the 2021 Mystery Hunt puzzle <http://puzzles.mit.edu/2021/puzzle/hey-can-you-give-me-a-hand-with-this-puzzle/> as practice.