Spreadsheet Spelling Test

In many spreadsheet programs, rows are denoted by numbers, and columns by letters of the alphabet. Column 1 corresponds to the letter A, column 2 to B, etc. Once it reaches Z (column 26), the next column starts with AA, then AB, etc.

Continuing on, what column number corresponds to the column that spells out the word EXAM ?


The answer is 104143.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

3 solutions

Chew-Seong Cheong
Oct 17, 2017

The A-to-Z system is a base-26 number system. Let A = 1 A=1 , B = 2 B=2 , C = 3 C=3 \cdots Y = 25 Y=25 and Z = A 0 = 26 Z=A0=26 . Therefore,

E X A M 26 = ( E × 2 6 3 + X × 2 6 2 + A × 26 + M ) 10 = 5 × 2 6 3 + 24 × 2 6 2 + 1 × 26 + 13 = 87880 + 16224 + 26 + 13 = 104143 \begin{aligned} EXAM_{26} & = (E \times 26^3 + X \times 26^2 + A \times 26 + M)_{10} \\ & = 5 \times 26^3 + 24 \times 26^2 + 1 \times 26 + 13 \\ & = 87880 + 16224 + 26 + 13 \\ & = \boxed{104143} \end{aligned}

David Qiu
Oct 14, 2017

If we have A - Z (the rightmost letters, or least significant letters) the numbers will be 1 - 26. So 26 columns in total.

If we then have AA - AZ, that will take 26 columns, so each letter in the second place value will each have 26 columns to go through.

So to get from AA - ZZ

We will have to get through 26 × 26 26 \times 26 or 2 6 2 26^{2} columns

We can then express this is a place value problem. We have to assign numbers to the letters. We have to shift the numbers up by 1 so A = 1, and Z = 26. This is because if A is 0, then AA would yield 0.

If we spell EXAM with the spreadsheet...

E = 5 , X = 24 , A = 1 , M = 13 E=5, X=24, A=1, M=13

5 × 2 6 3 + 24 × 2 6 2 + 1 × 26 + 13 = 104143 5\times26^{3}+24\times26^{2}+1\times26+13=\fbox{104143}

You can try this on a spreadsheet program like Excel! Try a word like CAT and see if you get the right number!

Leave comments if you find a more efficient way of doing this.

Ong Zi Qian
Oct 19, 2017

Well, I just do it step by step:

From A to Z \Rightarrow 26 26 numbers

From AA to ZZ \Rightarrow 26 × 26 26\times 26 numbers

From AAA to DZZZ \Rightarrow 5 × 26 × 26 × 26 5\times 26\times 26\times 26 numbers

From EAAA to EWZZ \Rightarrow 23 × 26 × 26 23\times 26\times 26 numbers

From EXAA to EXAM \Rightarrow 12 12 numbers

Totally, there are 26 + 26 × 26 + 5 × 26 × 26 × 26 + 23 × 26 × 26 + 12 = 140143 \begin{aligned}26+26\times 26+5\times 26\times 26\times 26+23\times 26\times 26+12=\boxed{140143}\end{aligned} numbers.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...