0% found this document useful (0 votes)
24 views

How Can I Create A Caesar Cipher in Excel To Encrypt A String of Digits Rexcel

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

How Can I Create A Caesar Cipher in Excel To Encrypt A String of Digits Rexcel

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Use App

r/excel 6 yr. ago


Join
The_Lantean

How can I create a Caesar Cipher in Excel


to encrypt a string of digits?
solved
I'd like to create a numeric Caesar Cipher in Excel that
is able to encrypt a string of digits.

I'd like to, for example, convert 1234 into 2345 (Shift is
1). "Shift" is how many values it skips/adds to encrypt
the number. So if I say Shift is 2, the encrypted number
would be 3456.

I've been able to do this using two tables and the


OFFSET and VLOOKUP functions, but this way I can
only encrypt one digit per cell (so 0 to 9). If I input 10, it
won't encrypt it to 21, it will just give me a #N/A error.

Any ideas on how I could do this? Seems very simple


with code, but I don't know how to code or use Visual
Basic in Excel at all...

Any help would be greatly appreciated! Thank you in


advance!

2 23

u/onirisapp • Promoted

A new open source testing tool allows


testing the efficacy of WAF solutions
in real-world conditions

openappsec.io Learn More

Sort by: Top

Add a Comment

Antimutt • 6y ago

Number in A1, shift value in A2

=SUMPRODUCT(MOD(VALUE(MID(A1,ROW(INDIRECT("

4 Reply

12 more replies

Chemtide • 6y ago

Will it be only numbers? if so:

=A1+DEC2BIN(2^LEN(A1)-1)

Will work.

2 Reply

3 more replies

View more comments

TOP POSTS

Reddit

reReddit: Top posts of March 15, 2018

Reddit

reReddit: Top posts of March 2018

Reddit

reReddit: Top posts of 2018

You might also like