 | CellBasicFormulasVLookup(Object, CellRange, Int32, Boolean) Method |
Function to generate a Vlookup as Excel function
Namespace: PicoXLSXAssembly: PicoXLSX (in PicoXLSX.dll) Version: 3.4.2+f55916d49ef2baa43fc7dc8f5c7d751a77c50baf
Syntaxpublic static Cell VLookup(
Object number,
CellRange range,
int columnIndex,
bool exactMatch
)
Parameters
- number Object
- Numeric value for the lookup. Valid types are int, uint, long, ulong, float, double, byte, sbyte, decimal, short and ushort.
- range CellRange
- Matrix of the lookup.
- columnIndex Int32
- Column index of the target column within the range (1 based).
- exactMatch Boolean
- If true, an exact match is applied to the lookup.
Return Value
CellPrepared Cell object, ready to be added to a worksheet.
See Also