Documents for Excel, Java Edition Documentation
Features / Formulas
In This Topic
    Formulas
    In This Topic

    GcExcel Java allows users to create and use formulas in order to facilitate financial analysis and improve data processing while saving both time and efforts.

    Basically, a formula refers to an expression that helps in calculating the value of a cell quickly and accurately when applied in a worskheet. While applying formulas, you can also use some built-in functions and operators to generate formulas and calculate values in the cells.

    In order to carry out complex arithmetic calculations, GcExcel provides support for adding and using formulas in a workbook. Formula computation always begins from left and extends towards the right based on the operator precedence. In case you want to modify the order of computation, you can enclose some specific portions within the formula in parentheses.

    Shared below is the descending order of operations for formulas in GcExcel Java. The first one holds the maximum precedence and last one holds the minimum precedence.

    1. Parentheses evaluation of expressions
    2. Range evaluation
    3. Evaluation of spaces within the expression
    4. Evaluation of commas within the expression
    5. Evaluation of variables with negation sign (-)
    6. Conversion of percentages(%)
    7. Evaluation of exponents (with ^ sign)
    8. Multiplication and Division operators (hold equal precedence)
    9. Addition and Subtraction operators (hold equal precedence)
    10. Evaluation of text operators
    11. Evaluation of comparison operators (=,<>,<=,>=)

    In GcExcel Java, you can manage formulas in the following ways: