|
NanoXLSX.Core 3.0.0-rc.3
|
Class for handling of basic Excel formulas. More...
Static Public Member Functions | |
| static Cell | Average (Range range) |
| Returns a cell with an average formula. | |
| static Cell | Average (Worksheet target, Range range) |
| Returns a cell with an average formula. | |
| static Cell | Ceil (Address address, int decimals) |
| Returns a cell with a ceil formula. | |
| static Cell | Ceil (Worksheet target, Address address, int decimals) |
| Returns a cell with a ceil formula. | |
| static Cell | Floor (Address address, int decimals) |
| Returns a cell with a floor formula. | |
| static Cell | Floor (Worksheet target, Address address, int decimals) |
| Returns a cell with a floor formula. | |
| static Cell | Max (Range range) |
| Returns a cell with a max formula. | |
| static Cell | Max (Worksheet target, Range range) |
| Returns a cell with a max formula. | |
| static Cell | Median (Range range) |
| Returns a cell with a median formula. | |
| static Cell | Median (Worksheet target, Range range) |
| Returns a cell with a median formula. | |
| static Cell | Min (Range range) |
| Returns a cell with a min formula. | |
| static Cell | Min (Worksheet target, Range range) |
| Returns a cell with a min formula. | |
| static Cell | Round (Address address, int decimals) |
| Returns a cell with a round formula. | |
| static Cell | Round (Worksheet target, Address address, int decimals) |
| Returns a cell with a round formula. | |
| static Cell | Sum (Range range) |
| Returns a cell with a sum formula. | |
| static Cell | Sum (Worksheet target, Range range) |
| Returns a cell with a sum formula. | |
| static Cell | VLookup (object number, Range range, int columnIndex, bool exactMatch) |
| Function to generate a Vlookup as Excel function. | |
| static Cell | VLookup (object number, Worksheet rangeTarget, Range range, int columnIndex, bool exactMatch) |
| Function to generate a Vlookup as Excel function. | |
| static Cell | VLookup (Address address, Range range, int columnIndex, bool exactMatch) |
| Function to generate a Vlookup as Excel function. | |
| static Cell | VLookup (Worksheet queryTarget, Address address, Worksheet rangeTarget, Range range, int columnIndex, bool exactMatch) |
| Function to generate a Vlookup as Excel function. | |
Class for handling of basic Excel formulas.
Definition at line 18 of file BasicFormulas.cs.
Returns a cell with an average formula.
| range | Cell range to apply the average operation to |
Definition at line 25 of file BasicFormulas.cs.
Returns a cell with an average formula.
| target | Target worksheet of the average operation. Can be null if on the same worksheet |
| range | Cell range to apply the average operation to |
Definition at line 34 of file BasicFormulas.cs.
Returns a cell with a ceil formula.
| address | Address to apply the ceil operation to |
| decimals | Number of decimals (digits) |
Definition at line 43 of file BasicFormulas.cs.
Returns a cell with a ceil formula.
| target | Target worksheet of the ceil operation. Can be null if on the same worksheet |
| address | Address to apply the ceil operation to |
| decimals | Number of decimals (digits) |
Definition at line 53 of file BasicFormulas.cs.
Returns a cell with a floor formula.
| address | Address to apply the floor operation to |
| decimals | Number of decimals (digits) |
Definition at line 62 of file BasicFormulas.cs.
Returns a cell with a floor formula.
| target | Target worksheet of the floor operation. Can be null if on the same worksheet |
| address | Address to apply the floor operation to |
| decimals | Number of decimals (digits) |
Definition at line 72 of file BasicFormulas.cs.
Returns a cell with a max formula.
| range | Cell range to apply the max operation to |
Definition at line 80 of file BasicFormulas.cs.
Returns a cell with a max formula.
| target | Target worksheet of the max operation. Can be null if on the same worksheet |
| range | Cell range to apply the max operation to |
Definition at line 89 of file BasicFormulas.cs.
Returns a cell with a median formula.
| range | Cell range to apply the median operation to |
Definition at line 97 of file BasicFormulas.cs.
Returns a cell with a median formula.
| target | Target worksheet of the median operation. Can be null if on the same worksheet |
| range | Cell range to apply the median operation to |
Definition at line 106 of file BasicFormulas.cs.
Returns a cell with a min formula.
| range | Cell range to apply the min operation to |
Definition at line 114 of file BasicFormulas.cs.
Returns a cell with a min formula.
| target | Target worksheet of the min operation. Can be null if on the same worksheet |
| range | Cell range to apply the median operation to |
Definition at line 123 of file BasicFormulas.cs.
Returns a cell with a round formula.
| address | Address to apply the round operation to |
| decimals | Number of decimals (digits) |
Definition at line 132 of file BasicFormulas.cs.
Returns a cell with a round formula.
| target | Target worksheet of the round operation. Can be null if on the same worksheet |
| address | Address to apply the round operation to |
| decimals | Number of decimals (digits) |
Definition at line 142 of file BasicFormulas.cs.
Returns a cell with a sum formula.
| range | Cell range to get a sum of |
Definition at line 150 of file BasicFormulas.cs.
Returns a cell with a sum formula.
| target | Target worksheet of the sum operation. Can be null if on the same worksheet |
| range | Cell range to get a sum of |
Definition at line 159 of file BasicFormulas.cs.
|
static |
Function to generate a Vlookup as Excel function.
| address | Query address of a cell as string as source of the lookup |
| range | Matrix of the lookup |
| columnIndex | Column index of the target column within the range (1 based) |
| exactMatch | If true, an exact match is applied to the lookup |
| FormatException | A format exception is thrown if the column index is invalid |
Definition at line 197 of file BasicFormulas.cs.
|
static |
Function to generate a Vlookup as Excel function.
| number | Numeric value for the lookup. Valid types are int, uint, long, ulong, float, double, byte, sbyte, decimal, short and ushort |
| range | Matrix of the lookup |
| columnIndex | Column index of the target column within the range (1 based) |
| exactMatch | If true, an exact match is applied to the lookup |
| FormatException | A format exception is thrown if the value or column index is invalid |
Definition at line 172 of file BasicFormulas.cs.
|
static |
Function to generate a Vlookup as Excel function.
| number | Numeric value for the lookup. Valid types are int, uint, long, ulong, float, double, byte, sbyte, decimal, short and ushort |
| rangeTarget | Target worksheet of the matrix. Can be null if on the same worksheet |
| range | Matrix of the lookup |
| columnIndex | Column index of the target column within the range (1 based) |
| exactMatch | If true, an exact match is applied to the lookup |
| FormatException | A format exception is thrown if the value or column index is invalid |
Definition at line 185 of file BasicFormulas.cs.
|
static |
Function to generate a Vlookup as Excel function.
| queryTarget | Target worksheet of the query argument. Can be null if on the same worksheet |
| address | Query address of a cell as string as source of the lookup |
| rangeTarget | Target worksheet of the matrix. Can be null if on the same worksheet |
| range | Matrix of the lookup |
| columnIndex | Column index of the target column within the range (1 based) |
| exactMatch | If true, an exact match is applied to the lookup |
| FormatException | A format exception is thrown if the column index is invalid |
Definition at line 211 of file BasicFormulas.cs.