Decrypting a Caesar cipher in a spreadsheet
Shifts a letter back by the key (3) to decrypt it. Subtracting the key undoes adding it, and MOD 26 wraps A-Z around so the result stays a letter.
Understanding Decrypting a Caesar cipher in a spreadsheet in ACARA Digital Technologies Years 9–10
What it does: The only change from the encrypt formula is -3 instead of +3, and that change reverses the encryption. Each row's decrypt formula reads the cipher letter in column B and returns the plain letter in column C. Fill it down to decrypt the whole message. Encrypting adds the key to shift forward. Decrypting subtracts the key to shift back to the original letter. For a letter like A shifted back by 3, MOD 26 wraps round to X instead of leaving the alphabet. A correct decrypt gives back exactly the original message, so matching the original text proves it works.
Common mistakes: The alphabet has 26 letters, so the wrap-around must use MOD 26. MOD 25 gives wrong letters. It should be MOD(C2,26). To decrypt you shift back, so the key is subtracted. Adding 3 would shift the letter forward again. It should be MOD(B2-3,26).
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 860–875) and word search (Modules 860–944).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
=CHAR(MOD(CODE(B2)-65-3,26)+65)Fill in the Blanks
Spot the Error
Student with a class code? Join your class →