7 kyu

Excel sheet column numbers

913 of 2,886joh_pot

Description:

Write a function that, given a column title as it appears in an Excel sheet, returns its corresponding column number.

All column titles will be uppercase.

Examples:

Column title: "A" --> return 1
Column title: "Z" --> return 26
Column title: "AA" --> return 27
Fundamentals
Algorithms

Stats:

CreatedSep 8, 2015
PublishedSep 8, 2015
Warriors Trained6858
Total Skips452
Total Code Submissions10923
Total Times Completed2886
JavaScript Completions913
Ruby Completions118
Python Completions821
Java Completions559
C# Completions280
Haskell Completions141
Clojure Completions163
CoffeeScript Completions16
PHP Completions57
Factor Completions6
Total Stars85
% of votes with a positive feedback rating91% of 340
Total "Very Satisfied" Votes288
Total "Somewhat Satisfied" Votes41
Total "Not Satisfied" Votes11
Ad
Contributors
  • joh_pot Avatar
  • g964 Avatar
  • GiacomoSorbi Avatar
  • Voile Avatar
  • FArekkusu Avatar
  • hobovsky Avatar
  • Kacarott Avatar
  • iming Avatar
  • Just4FunCoder Avatar
  • gifti Avatar
  • saudiGuy Avatar
Ad