Help for this page

Select Code to Download


  1. or download this
    # Convert base26 column string to number
    # All your Base are belong to us.
    ...
        $col += (ord($char) -ord('A') +1) * $expn;
        $expn *= 26;
    }