package other;

public class ExcelCalculation {
    char[] a = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',
                'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't',
                'u', 'v', 'w', 'x', 'y', 'z'};

    public String calculate(int number) {
        if (number == 0) { return ""; }

        String result = "";

        if (number % 26 == 0 && number != 26) {
            result += a[((((number - (number % 26)) / 26))) - 2] + "" + a[25];
        } else
        if (number > 25) {
            if ((((number - (number % 26)) / 26)) > 26) {
                result += a[(((((number - (number % 26)) / 26))) - 1) / 26 - 1] + "" + a[((((number - (number % 26)) / 26)) % 26) - 1] + calculate((number % 26));
            } else {
                result += a[((((number - (number % 26)) / 26))) - 1] + calculate((number % 26));
            }
        } else {
            result = String.valueOf(a[number - 1]) + result;
        }
        return result;
    }
}

@@ -365,12 +365,28 @@
 == 0
- && 
+) %7B%0A            if (
 numb
@@ -393,24 +393,28 @@
 er != 26) %7B%0A
+    
             
@@ -492,15 +492,89 @@
     
+    
 %7D else
-%0A
+ %7B%0A                result += a%5B25%5D;%0A            %7D%0A        %7D else %7B%0A    
     
@@ -592,24 +592,28 @@
 ber %3E 25) %7B%0A
+    
             
@@ -666,32 +666,36 @@
                 
+   
+ 
 result += a%5B((((
@@ -829,32 +829,36 @@
 ));%0A            
+    
 %7D else %7B%0A       
@@ -842,32 +842,36 @@
        %7D else %7B%0A
+    
                 
@@ -955,34 +955,42 @@
 ));%0A            
-%7D%0A
+    %7D%0A    
         %7D else %7B
@@ -998,24 +998,28 @@
             
+ 
+   
 result = Str
@@ -1051,24 +1051,38 @@
 ) + result;%0A
+            %7D%0A
         %7D%0A  

Update ExcelCalculation.java