KeyView 24.4
KeyView Viewing SDK Programming Guide

# Extract Microsoft Excel Formulas

When you view a Microsoft Excel spreadsheet, KeyView extracts the value of each cell. The value of a cell might be calculated from a formula, but the formula is not included in the output unless you configure KeyView to include it. You can extract the cell value, the formula, or both. For example, if you choose to extract both the cell value and the formula, the output might look like this:

    245 = SUM(B21:B26)

In this example, the calculated value from the cell is `245` and the formula from which the value is derived is `SUM(B21:B26)`.

NOTE: Depending on the complexity of the formulas, enabling formula extraction might result in slightly slower performance.

To extract formulas

- Add the following lines to `kvsdk.ini`:

      [Options]
      getformulastring=option

  where `option` is one of the following:

  Option | Description
  --- | ---
  `0` | Extract the cell value only. This is the default.
  `1` | Extract the formula only.
  `2` | Extract the formula and the cell value.

  If a function in a formula is invalid, and option 1 or 2 is specified, only the calculated value is extracted.

Copyright 2016-2024 Open Text
Version 24.4 | Last updated September 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL KeyView 24.4

Topic Title: Extract Microsoft Excel Formulas